]> git.proxmox.com Git - qemu.git/commit
move 'unsafe' to end of caching modes in help
authorBruce Rogers <brogers@novell.com>
Wed, 21 Jul 2010 20:32:28 +0000 (14:32 -0600)
committerKevin Wolf <kwolf@redhat.com>
Mon, 26 Jul 2010 11:39:39 +0000 (13:39 +0200)
commit6c6b6ba20a167a89f85606125ee1e10eafef5b33
tree4abcd42c3ff467522e0715d3a0e35e6dba830b09
parent9d0d3138590c26cee1b1c440db6bcdd1986a5a20
move 'unsafe' to end of caching modes in help

Libvirt parses qemu help output to determine qemu features. In particular
it probes for the following: "cache=writethrough|writeback|none". The
addition of the unsafe cache mode was inserted within this string, as
opposed to being added to the end, which impacted libvirt's probe.
Unbreak libvirt by keeping the existing cache modes intact and add
unsafe to the end.

This problem only manifests itself if a caching mode is explicitly
specified in the libvirt xml, in which case older syntax for caching is
passed to qemu, which it  no longer understands.

Signed-off-by: Bruce Rogers <brogers@novell.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-options.hx