]> xenbits.xensource.com Git - libvirt.git/commit
qemu: correct misspelled 'enospc' option, and only use for werror
authorLaine Stump <laine@laine.org>
Tue, 4 Oct 2011 17:26:29 +0000 (13:26 -0400)
committerLaine Stump <laine@laine.org>
Wed, 5 Oct 2011 03:09:25 +0000 (23:09 -0400)
commit12062abb89fe3684712ed454f090a86e6ce4f185
treeb436385470b4bad9b57db69cd379a30ee3c4a99c
parent64703c03fc252e45b0eb80f169d4c32d33c45ce1
qemu: correct misspelled 'enospc' option, and only use for werror

This resolves:

     https://bugzilla.redhat.com/show_bug.cgi?id=730909

When support for setting the qemu disk error policy to "enospc" was
added, it was inadvertently spelled "enospace". This patch corrects
that on the qemu commandline (while retaining the "enospace" spelling
for libvirt's XML).

Also, while examining the qemu source, I found that "enospc" is not
allowed for the read error policy, only for write error policy (makes
sense). Since libvirt currently only has a single error policy
setting, when "enospace" is selected, the read error policy is set to
"ignore".
src/qemu/qemu_command.c