Csaba Henk wrote: > Hi, > > I'm running qemu 0.9.0 on a Linux host. > > I'm using a qcow2 image. I run qemu in daemon mode. When I'm to finish my > session with the guest, I go to the monitor, do a "savevm whatever", > "commit all", "q". > > What I see that the image becomes corrupt very often (qemu-img sees it > as a raw image). (I do the "commit all" only because I suffer and I don't > have any better idea in mind -- I guess it shouldn't have an effect on > the correctness of disk handling). > > Any idea what's wrong? Or a fault-proof way of leaving qemu?
There was a bug in the qcow2 support which is fixed in CVS. You can use qcow instead, or upgrade to a recent-ish CVS version of qemu. Thiemo