libvirt/src/qemu
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
..
libvirtd_qemu.aug qemu: conf: add seccomp_sandbox option 2012-09-18 15:43:28 +08:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c qemu: don't override earlier json error 2013-02-25 17:36:03 -07:00
qemu_agent.h Convert virDomainObj, qemuAgent, qemuMonitor, lxcMonitor to virObjectLockable 2013-01-16 11:02:58 +00:00
qemu_bridge_filter.c Rename virterror.c virterror_internal.h to virerror.{c,h} 2012-12-21 11:19:50 +00:00
qemu_bridge_filter.h Replace 'struct qemud_driver *' with virQEMUDriverPtr 2012-11-28 18:17:25 +00:00
qemu_capabilities.c qemu: detect multi-head qxl via more than version check 2013-03-14 09:38:20 -06:00
qemu_capabilities.h S390: QEMU driver support for CCW addresses 2013-03-13 17:14:38 -06:00
qemu_cgroup.c Don't try to add non-existant devices to ACL 2013-02-27 22:51:24 +00:00
qemu_cgroup.h Rename all USB device functions to have a standard name prefix 2013-02-05 19:22:25 +00:00
qemu_command.c virtio-rng: Add rate limiting options for virtio-RNG 2013-03-14 13:28:10 +01:00
qemu_command.h S390: QEMU driver support for CCW addresses 2013-03-13 17:14:38 -06:00
qemu_conf.c virCaps: conf: start splitting out irrelevat data 2013-03-13 09:27:14 +01:00
qemu_conf.h virCaps: conf: start splitting out irrelevat data 2013-03-13 09:27:14 +01:00
qemu_domain.c S390: QEMU driver support for CCW addresses 2013-03-13 17:14:38 -06:00
qemu_domain.h S390: QEMU driver support for CCW addresses 2013-03-13 17:14:38 -06:00
qemu_driver.c S390: Add hotplug support for s390 virtio devices 2013-03-13 18:13:09 -06:00
qemu_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
qemu_hostdev.c Protect USB/PCI device list access in QEMU with dedicated locks 2013-02-05 19:22:26 +00:00
qemu_hostdev.h Rename all USB device functions to have a standard name prefix 2013-02-05 19:22:25 +00:00
qemu_hotplug.c S390: Add hotplug support for s390 virtio devices 2013-03-13 18:13:09 -06:00
qemu_hotplug.h S390: Add hotplug support for s390 virtio devices 2013-03-13 18:13:09 -06:00
qemu_migration.c virCaps: conf: start splitting out irrelevat data 2013-03-13 09:27:14 +01:00
qemu_migration.h qemu: Add support for compressed migration 2013-02-22 17:35:58 +01:00
qemu_monitor_json.c qemu: don't override earlier json error 2013-02-25 17:36:03 -07:00
qemu_monitor_json.h qemu: Introduce nbd-server-stop command 2013-02-23 08:16:42 +01:00
qemu_monitor_text.c qemu: Parse more fields from query-migrate QMP command 2013-02-22 17:35:59 +01:00
qemu_monitor_text.h qemu: Parse more fields from query-migrate QMP command 2013-02-22 17:35:59 +01:00
qemu_monitor.c qemu: minor monitor lock cleanups 2013-02-25 17:36:51 -07:00
qemu_monitor.h qemu: Introduce nbd-server-stop command 2013-02-23 08:16:42 +01:00
qemu_process.c S390: QEMU driver support for CCW addresses 2013-03-13 17:14:38 -06:00
qemu_process.h Fix typo in internal VIR_QEMU_PROCESS_START_AUTODESROY constant 2013-02-27 22:51:24 +00:00
qemu.conf doc: update description about user/group in qemu.conf 2012-10-09 08:38:36 -06:00
test_libvirtd_qemu.aug.in Fix the augea test for qemu libvirtd options 2012-09-18 16:28:43 +08:00
THREADS.txt Remove qemuDriverLock from almost everywhere 2013-02-13 11:10:30 +00:00