[libvirt] [PATCH 0/2] qemu: Check if qemu is VNC capable

Doug Goldstein cardoe at cardoe.com
Fri Oct 19 19:40:50 UTC 2012


This is the initial series where I'll be exposing the graphical support that
QEMU has via capabilities but I'm breaking it up to get in as much as possible
based on my available time.

This initial set adds checks to see that your QEMU binary has VNC support
instead of assuming that it does. A large Gentoo user apparently just uses
SPICE and as a result we now provide the ability to install QEMU without VNC.
While this is not a recommended configuration its certainly valid and libvirt
should not assume it exists.


Doug Goldstein (2):
  test: Don't assume VNC is always available
  qemu: Don't blindly assume VNC is supported

 src/qemu/qemu_capabilities.c                       |    5 ++
 src/qemu/qemu_capabilities.h                       |    1 +
 src/qemu/qemu_command.c                            |    6 +++
 tests/qemuhelptest.c                               |   48 +++++++++++++-------
 tests/qemuxml2argvdata/qemuxml2argv-bios.args      |    6 +-
 tests/qemuxml2argvdata/qemuxml2argv-bios.xml       |    4 --
 .../qemuxml2argv-disk-copy_on_read.args            |    6 +-
 .../qemuxml2argv-disk-copy_on_read.xml             |    5 --
 .../qemuxml2argv-disk-ioeventfd.args               |    6 +-
 .../qemuxml2argv-disk-ioeventfd.xml                |    5 --
 tests/qemuxml2argvdata/qemuxml2argv-event_idx.args |    6 +-
 tests/qemuxml2argvdata/qemuxml2argv-event_idx.xml  |    8 ---
 .../qemuxml2argvdata/qemuxml2argv-virtio-lun.args  |    6 +-
 tests/qemuxml2argvdata/qemuxml2argv-virtio-lun.xml |    8 ---
 tests/qemuxml2argvtest.c                           |   10 ++--
 15 files changed, 64 insertions(+), 66 deletions(-)

-- 
1.7.8.6




More information about the libvir-list mailing list