utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.88k stars 1.34k forks source link

Pausing a VM doesnt work with Apple Virtualization #6654

Open okossuth opened 2 months ago

okossuth commented 2 months ago

Describe the issue
Basically it seems you cannot pause a VM and start it again if you use Apple Virtualization instead of QEMU. i'm using utm version 4.5.3 on a Macbook Air M3. I installed Ubuntu ARM as a guest using apple virtualization but i have noticed that if i pause the VM and close the window and try to start it again it fails and i get an error saying: " An error occurred while restoring the virtual machine. The virtual machine failed to restore with error “invalid argument”. Looks like this is a bug??

Pausing VMs using QEMU works fine though.

Configuration

cantchooseaname8 commented 1 month ago

I’ve come across the same problem. I notice it when I close the VM window. It appears to be either pausing or stopping the VM when the window is closed. Then when trying to open the VM again, I get that error.