Disk not ejected properly before connecting a USB device to the VM
- 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.

**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
Assessment
This issue has not been assessed yet.