[Qemu-devel] loadvm on a read only image

2007-02-19 Thread IdaRub
I would like to be able to restore a snapshot from a disk image file with read only permissions, for example stored on a cdrom. QEMU checks if an image supports snapshots (bdrv_can_snapshot, etc) and will fail if the disk is read only. As a quick test, I patched out these checks and QEMU will bo

[Qemu-devel] -snapshot problem

2006-08-24 Thread IdaRub
So I'm very unfamiliar with the QEMU codebase, but it seems like there was a bug introduced recently that causes -snapshot to no longer work. Maybe I'm missing something, and the semantics have just changed since multiple snapshot support? Anyway, rev 1.29 to block.c (http://cvs.savannah.gnu.org/