summary refs log tree commit diff stats
path: root/results/classifier/accel-gemma3:12b/vmm/1070762
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/accel-gemma3:12b/vmm/1070762')
-rw-r--r--results/classifier/accel-gemma3:12b/vmm/107076238
1 files changed, 38 insertions, 0 deletions
diff --git a/results/classifier/accel-gemma3:12b/vmm/1070762 b/results/classifier/accel-gemma3:12b/vmm/1070762
new file mode 100644
index 000000000..46c7d6221
--- /dev/null
+++ b/results/classifier/accel-gemma3:12b/vmm/1070762
@@ -0,0 +1,38 @@
+
+savevm fails with inserted CD, "Device '%s' is writable but does not support  snapshots."
+
+Hi,
+
+yesterday unfortunately a customer reported a failed snapshot of his VM. Going through the logfile I discovered:
+
+"Device 'ide1-cd0' is writable but does not support snapshots"
+
+this is with qemu-1.2.0 and 1.0.1 at least...
+
+Why writeable?
+Even if I specify "-drive ...,readonly=on,snapshot=off" to qemu the monitor-command sees the CD-ROM-device as being writeable?!
+
+Somewhere I saw a "hint" for blockdev.c:
+=== snip ===
+
+--- /tmp/blockdev.c	2012-10-24 11:37:10.000000000 +0200
++++ blockdev.c	2012-10-24 11:37:17.000000000 +0200
+@@ -551,6 +551,7 @@
+     case IF_XEN:
+     case IF_NONE:
+         dinfo->media_cd = media == MEDIA_CDROM;
++	dinfo->bdrv->read_only = 1;
+         break;
+     case IF_SD:
+     case IF_FLOPPY:
+
+=== snap ===
+
+after installing with this small patch applied it works, so insert CD, savevm <somename> succeeds.
+This should be fixed at all correct places, and the tags "readonly=on,snapshot=off" should do it, too. Or even just work after specifying a drive being a CD-rom should do the trick ;-)
+
+Another "bad habit" is, that the ISO/DVD-file has to be writeable to be changed?
+
+Thnx for attention and regards,
+
+Oliver.
\ No newline at end of file