You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
This is a very nasty bug in the UI for the Apple backend on Apple Silicon. I actually nuked a couple of my VMs (thankfully, unimportant ones) by performing the following steps:
Create an Apple backend VM, either for macOS or Linux
Install the guest OS for more drama ;) - the bug will still happen without it, though
Open the VM settings dialog
Click "New Drive" and create a new drive
Without closing the VM settings dialog, reorder the disk images so that the newly created drive ends up in the topmost position (either by dragging or using the Move Up / Move Down buttons)
Note: if you close the VM settings dialog after creating the drive, then reopen it and do the reordering maneuver, everything will work fine. The bug only happens if you create and reorder the drive in the same go.
Observe how the new drive has been saved as disk0.img within the VM bundle, overwriting the existing root drive. Moreover, config.plist will now refer to the same image twice, making the VM configuration invalid. Now you can't start the VM, it'll fail with the "Invalid virtual machine configuration. A storage device configuration is invalid." message if you try. You can't even remove the invalid drives from the UI. And the data from your original root drive is gone.
Describe the issue
This is a very nasty bug in the UI for the Apple backend on Apple Silicon. I actually nuked a couple of my VMs (thankfully, unimportant ones) by performing the following steps:
Create an Apple backend VM, either for macOS or Linux
Install the guest OS for more drama ;) - the bug will still happen without it, though
Open the VM settings dialog
Click "New Drive" and create a new drive
Without closing the VM settings dialog, reorder the disk images so that the newly created drive ends up in the topmost position (either by dragging or using the Move Up / Move Down buttons)
Note: if you close the VM settings dialog after creating the drive, then reopen it and do the reordering maneuver, everything will work fine. The bug only happens if you create and reorder the drive in the same go.
Observe how the new drive has been saved as
disk0.img
within the VM bundle, overwriting the existing root drive. Moreover,config.plist
will now refer to the same image twice, making the VM configuration invalid. Now you can't start the VM, it'll fail with the "Invalid virtual machine configuration. A storage device configuration is invalid." message if you try. You can't even remove the invalid drives from the UI. And the data from your original root drive is gone.This is especially annoying as this disk reordering maneuver is part of the hack to boot into macOS recovery. See also #3526.
Configuration
The text was updated successfully, but these errors were encountered: