]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't try to parse -help for new QEMU
authorJiri Denemark <jdenemar@redhat.com>
Wed, 12 Nov 2014 15:49:59 +0000 (16:49 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 13 Nov 2014 20:25:50 +0000 (21:25 +0100)
commitae3e29e6e7a9a208732f22721e735d238b2aa8cb
tree1c9e573b8658996bdf0b4ecd5b85e00722a1b1fc
parentab393383c84eb049fc2d75c3e79249ca58062887
qemu: Don't try to parse -help for new QEMU

Since QEMU 1.2.0, we switched to QMP probing instead of parsing -help
(and other commands, such as -cpu ?) output. However, if QMP probing
failed, we still tried starting QEMU with various options and parsing
the output, which was guaranteed to fail because the output changed.
Let's just refuse parsing -help for QEMU >= 1.2.0.

https://bugzilla.redhat.com/show_bug.cgi?id=1160318
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c
tests/qemuhelpdata/qemu-kvm-1.2.0-device [deleted file]
tests/qemuhelptest.c