libvirt/tests/qemuhelpdata
Eric Blake 5ac846e42e qemu: detect multi-head qxl via more than version check
Multi-head QXL support is so useful that distros have started to
backport it to qemu earlier than 1.2.  After discussion with
Alon Levy, we determined that the existence of the qxl-vga.surfaces
property is a reliable indicator of whether '-device qxl-vga' works,
or whether we have to stick to the older '-vga qxl'.  I'm leaving
in the existing check for QEMU_CAPS_DEVICE_VIDEO_PRIMARY tied to
qemu 1.2 and newer (in case qemu is built without qxl support),
but for those distros that backport qxl, this additional capability
check will allow the correct command line for both RHEL 6.3 (which
lacks the feature) and RHEL 6.4 (where qemu still claims to be
version 0.12.2.x, but has backported multi-head qxl).

* src/qemu/qemu_capabilities.c (virQEMUCapsObjectPropsQxlVga): New
property test.
(virQEMUCapsExtractDeviceStr): Probe for backport of new
capability to qemu earlier than 1.2.
* tests/qemuhelpdata/qemu-kvm-1.2.0-device: Update test.
* tests/qemuhelpdata/qemu-1.2.0-device: Likewise.
* tests/qemuhelpdata/qemu-kvm-0.12.1.2-rhel62-beta-device:
Likewise.
2013-03-14 09:38:20 -06:00
..
kvm-74 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
kvm-83-rhel56 qemu: Fix detection of drive readonly option 2010-10-26 10:31:50 +02:00
kvm-86 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemu-0.9.1 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemu-0.10.5 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemu-0.12.1 Probe for -device and use -nodefaults 2010-01-18 13:39:14 +00:00
qemu-0.12.1-device qemu: improve device flag parsing 2011-01-13 16:03:11 -07:00
qemu-1.0 Add support for QEMU 1.0 2011-12-05 13:02:54 +01:00
qemu-1.0-device Add support for QEMU 1.0 2011-12-05 13:02:54 +01:00
qemu-1.1.0 tests: Refresh qemu-1.1.0 data 2012-06-05 15:44:40 +02:00
qemu-1.1.0-device tests: Refresh qemu-1.1.0 data 2012-06-05 15:44:40 +02:00
qemu-1.2.0 tests: update qemuhelptest data 2012-11-21 18:43:18 +01:00
qemu-1.2.0-device qemu: detect multi-head qxl via more than version check 2013-03-14 09:38:20 -06:00
qemu-kvm-0.10.5 Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemu-kvm-0.11.0-rc2 Add qemu -help test data for qemu-kvm-0.11.0-rc2 2009-09-10 12:37:35 +01:00
qemu-kvm-0.12.1.2-rhel60 tests: test RHEL 6.0 qemu-kvm -help parsing 2010-12-13 16:30:02 -07:00
qemu-kvm-0.12.1.2-rhel60-device qemu: improve device flag parsing 2011-01-13 16:03:11 -07:00
qemu-kvm-0.12.1.2-rhel61 smartcard: check for qemu capability 2011-02-03 19:28:53 -07:00
qemu-kvm-0.12.1.2-rhel61-device Add txmode attribute to interface XML for virtio backend 2011-02-17 11:07:58 -05:00
qemu-kvm-0.12.1.2-rhel62-beta qemu: enable multifunction for older qemu 2011-10-06 10:41:21 -06:00
qemu-kvm-0.12.1.2-rhel62-beta-device qemu: detect multi-head qxl via more than version check 2013-03-14 09:38:20 -06:00
qemu-kvm-0.12.3 qemu_conf: fix flag value 2010-05-17 16:28:02 -06:00
qemu-kvm-0.12.3-device qemu: improve device flag parsing 2011-01-13 16:03:11 -07:00
qemu-kvm-0.13.0 tests: test Fedora 14 qemu-kvm -help parsing 2010-12-13 16:30:02 -07:00
qemu-kvm-0.13.0-device Add txmode attribute to interface XML for virtio backend 2011-02-17 11:07:58 -05:00
qemu-kvm-1.2.0 qemuhelpdata: Revert my 'fix' 2012-11-23 09:25:20 +01:00
qemu-kvm-1.2.0-device qemu: detect multi-head qxl via more than version check 2013-03-14 09:38:20 -06:00