This command used to work, but fails now:

$ i386-softmmu/qemu -snapshot /dev/sda
qemu: could not open disk image /dev/sda: Permission denied

$ ls -l /dev/sda
brw-rw-r-- 1 root disk 8, 0 13. Feb 08:55 /dev/sda

The original file of a snapshot needs only read access,
but QEMU tries read/write access and fails.

Variants of above command using -hda or -drive
also fail with the same error message.

I did not test whether the regression affects other
kinds of images, too. Maybe only raw images trigger
no longer work.

Regards
Stefan Weil



Reply via email to