[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v3 0/4]use newer video device by -device in qemu commandline

On 12/13/2012 05:06 PM, Guannan Ren wrote:
v2: Check qemu version, it has to be qemu >= 1.2 for using
     new video device with -device qemu option
v3: Add a new caps bit QEMU_CAPS_1DOT20_PLUS to mark qemu >= 1.2
     Add a new testcase for improved qemu commandline
     Fixed all placed pointed out in v2

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 v3 1/4] qemu: add qemu vga devices caps and one cap to mark them
   [PATCH v3 2/4] conf: add optional attribte primary to video <model>
   [PATCH v3 3/4] qemu: use newer -device video device in qemu commandline
   [PATCH v3 4/4] tests: add one -device video device testcase
docs/formatdomain.html.in | 6 ++++-
  docs/schemas/domaincommon.rng                                         |   8 ++++++
  src/conf/domain_conf.c                                                |  27 ++++++++++++++++++++-
  src/conf/domain_conf.h                                                |   1 +
  src/qemu/qemu_capabilities.c                                          |  14 ++++++++++-
  src/qemu/qemu_capabilities.h                                          |   5 ++++
  src/qemu/qemu_command.c                                               | 178 ++++++++++++++++++++++++++++++++++++..
  src/qemu/qemu_command.h                                               |   4 ++-
  tests/qemuhelptest.c                                                  |  50 +++++++++++++++++++++++++++++++-------
  tests/qemuxml2argvdata/qemuxml2argv-video-device-pciaddr-default.args |   9 +++++++
  tests/qemuxml2argvdata/qemuxml2argv-video-device-pciaddr-default.xml  |  44 +++++++++++++++++++++++++++++++++
  tests/qemuxml2argvtest.c                                              |  14 ++++++++---
  12 files changed, 293 insertions(+), 67 deletions(-)

libvir-list mailing list
libvir-list redhat com

   Thanks the review and pushed.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]