[libvirt] [PATCH 0/1] enospace disk error policy

Dan Kenigsberg danken at redhat.com
Fri Apr 9 08:44:30 UTC 2010

On Thu, Apr 08, 2010 at 04:11:32PM -0400, David Allan wrote:
> Dan Kenigsberg requested that we add an option to explicitly request enospace as the disk error policy.

Well, to be more exact, I asked if leaving it out was intentional ;-)
(But I do think that alowing explicity here is a good idea, thanks)

I do have one issue with error_policy: for qemu-0.12 (with -drive and
id=) libvirt creates a command line such as

qemu-kvm -drive file=/tmp/1.qcow2,format=qcow2,if=none,werror=stop,id=drive-ide0-0-0

Which qemu does not like ("werror is no supported by this format"). This
error goes away if the "if=none" clause is dropped. I'm not sure if it
is not a qemu bug, though.

More information about the libvir-list mailing list