utmapp / utmapp/UTM

Disk not ejected properly before connecting a USB device to the VM

Open
#5,650 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

**Describe the issue**
Disk not ejected properly from the host OS before connecting a USB device to the VM

Steps to reproduce:
1. Attach a USB drive to the host computer (I used a USB flash drive)
2. Open UTM and run a VM (I used a Linux VM)
3. Click the "USB Devices" icon in the upper rightish corner of the VM window
4. Connect the device you attached in step 1 using the menu

What happens: macOS complains that the disk was not ejected properly
What I expected: don't show an error (automatically eject the device before connecting it to the VM)

Screen shot of the error message:
> Disk Not Ejected Properly
> Eject (disk name) before disconnecting
> or turning it off.

![screenshot](https://github.com/utmapp/UTM/assets/42669366/65554263-6386-41c6-ac6d-2b1fd92931ab)

**Configuration**
* UTM Version: Version 4.3.5 (87)
* macOS Version: 14.3.1 (23D60) (edit: originally reported on 14.0 Beta)
* Mac Chip (Intel, M1, ...): M1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.