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

[libvirt] [PATCH v2 0/5] qemu: Default to video type=virtio for machvirt



This series aim is to change the qemu machvirt video type default to
virtio, but rather than continue to hack things into place in
domain_conf.c, this rearranges things to allow drivers to set a
video type default.

Patches 1 is a small prep change in the qemu code
Patches 2-4 are the plumbing to allow drivers to set their own default
Patch 5 is the actual default change

https://bugzilla.redhat.com/show_bug.cgi?id=1404112

v2:
    Rebase
    Push a few prep patches
    Drop the (virDomainVideoType) annotations
    Add patch #1

Cole Robinson (5):
  qemu: whitelist valid video types
  conf: domain: add VIDEO_TYPE_DEFAULT
  conf: domain: move video type validation to DeviceDefValidate
  qemu: Set default video type in qemu PostParse
  qemu: Default to video type=virtio for machvirt

 src/conf/domain_conf.c                             | 32 ++++++++-------
 src/conf/domain_conf.h                             |  1 +
 src/qemu/qemu_command.c                            |  3 ++
 src/qemu/qemu_domain.c                             | 22 +++++++----
 src/qemu/qemu_domain_address.c                     |  1 +
 tests/domaincapsschemadata/full.xml                |  1 +
 .../qemuxml2argv-aarch64-video-default.args        | 26 ++++++++++++
 .../qemuxml2argv-aarch64-video-default.xml         | 17 ++++++++
 tests/qemuxml2argvtest.c                           |  6 +++
 .../qemuxml2xmlout-aarch64-video-default.xml       | 46 ++++++++++++++++++++++
 tests/qemuxml2xmltest.c                            | 10 +++++
 11 files changed, 142 insertions(+), 23 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-default.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-default.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-video-default.xml

-- 
2.13.5


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