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
Error: Device 'pflash1' is writable but does not support snapshots
As I understand, this is caused by unit=1 drive for EFI_VARS, which uses pflash that doesn't support snapshots, relevant piece of code from generated by quickemu macos-sonoma/macos-sonoma.sh:
As far as I know, this can be solved by either (1) making OVMF_VARS-1920x1080.fd read only or (2) switching image type to .cow2 (which I'm not sure is possible, I mean, why does it use pflash to begin with?)
I tried option (1) — the issue goes away when I add readonly=on, I can save and restore VM after that without any problem:
It's probably not a great default option, since it makes changing EFI vars from within a VM impossible, but can there be made a switch to make it read only when I've already set up EFI vars the way I want, let's say an option in config, like mount_efi_vars_readonly or something?
If so, it seems like a very simple patch, I'd be happy to write a PR.
The text was updated successfully, but these errors were encountered:
I'm trying to save state of a MacOS Sonoma VM like so:
savevm
:nc -U "macos-sonoma/macos-sonoma-monitor.socket" (qemu) savevm empty
Which gives me:
As I understand, this is caused by
unit=1
drive forEFI_VARS
, which usespflash
that doesn't support snapshots, relevant piece of code from generated by quickemumacos-sonoma/macos-sonoma.sh
:As far as I know, this can be solved by either (1) making
OVMF_VARS-1920x1080.fd
read only or (2) switching image type to .cow2 (which I'm not sure is possible, I mean, why does it usepflash
to begin with?)I tried option (1) — the issue goes away when I add
readonly=on
, I can save and restore VM after that without any problem:It's probably not a great default option, since it makes changing EFI vars from within a VM impossible, but can there be made a switch to make it read only when I've already set up EFI vars the way I want, let's say an option in config, like
mount_efi_vars_readonly
or something?If so, it seems like a very simple patch, I'd be happy to write a PR.
The text was updated successfully, but these errors were encountered: