]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_conf.c: also recognize new first line of qemu -help output
authorJim Meyering <meyering@redhat.com>
Thu, 20 May 2010 13:43:47 +0000 (15:43 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 20 May 2010 17:13:26 +0000 (19:13 +0200)
commit20beb0c0db37f32c502f5e242bd82169a55ced6e
tree965f29a39746f3e2d6b34281dac7b24be514fd8f
parent1f6fc519cdf3039fa15b080ea9f2afbc177d123c
qemu_conf.c: also recognize new first line of qemu -help output

* src/qemu/qemu_conf.c (QEMU_VERSION_STR_1, QEMU_VERSION_STR_2):
Define these instead of...
(QEMU_VERSION_STR): ... this.  Remove definition.
(qemudParseHelpStr): Check first for the new, shorter prefix,
"QEMU emulator version", and then for the old one,
"QEMU PC emulator version" when trying to parse the version number.
Based on a patch by Chris Wright.
src/qemu/qemu_conf.c