v2: check qemu version, it has to be qemu >= 1.2 for using
      new video device with -device qemu option

This patch set aims to use qemu VGA device with -device option to replace
-vga option. The mapping is as follows.

'-device VGA' maps to '-vga std'
'-device cirrus-vga' maps to '-vga cirrus'
'-device qxl-vga' maps to '-vga qxl'
    (there is also '-device qxl' for secondary devices)
'-device vmware-svga' maps to '-vga vmware'

Through this change, guests will be able to use any available PCI slot
number rather than fixed 0x2 slot for primary video device.

  Guannan Ren(4)
  [PATCH v2 1/4] qemu: add qemu various VGA devices Caps flag
  [PATCH v2 2/4] conf: add optional attribte primary to video <model>
  [PATCH v2 3/4] qemu: use newer -device video device in qemu commandline
  [PATCH v2 4/4] doc: add attribute primary doc to video model element

 docs/formatdomain.html.in    |   6 ++++-
 src/conf/domain_conf.c       |  25 +++++++++++++++++++++
 src/conf/domain_conf.h       |   1 +
 src/qemu/qemu_capabilities.c |  10 ++++++++-
 src/qemu/qemu_capabilities.h |   4 ++++
 src/qemu/qemu_command.c      | 132 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------
 src/qemu/qemu_command.h      |   4 +++-
 tests/qemuhelptest.c         |  48 +++++++++++++++++++++++++++++++--------
 tests/qemuxml2argvtest.c     |   9 +++++---
 9 files changed, 193 insertions(+), 46 deletions(-)



--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to