On Fri, 2019-02-08 at 17:11 -0500, Cole Robinson wrote:
Add new <interface> model handling for virtio transitional
devices. Ex:
<interface>
<model type='virtio-transitional'/>
</interface>
* "virtio-transitional" maps to qemu "virtio-net-pci-transitional"
* "virtio-non-transitional" maps to qemu
"virtio-net-pci-non-transitional"
Signed-off-by: Cole Robinson <crobinso(a)redhat.com>
---
docs/formatdomain.html.in | 6 +++++-
src/conf/domain_conf.c | 4 +++-
src/qemu/qemu_command.c | 6 ++++++
src/qemu/qemu_domain_address.c | 9 +++++++--
.../virtio-non-transitional.x86_64-3.1.0.args | 6 +++++-
.../virtio-non-transitional.x86_64-latest.args | 6 +++++-
tests/qemuxml2argvdata/virtio-non-transitional.xml | 4 ++++
.../virtio-transitional.x86_64-3.1.0.args | 5 ++++-
.../virtio-transitional.x86_64-latest.args | 5 ++++-
tests/qemuxml2argvdata/virtio-transitional.xml | 4 ++++
tests/qemuxml2xmloutdata/virtio-non-transitional.xml | 12 +++++++++++-
tests/qemuxml2xmloutdata/virtio-transitional.xml | 7 ++++++-
12 files changed, 64 insertions(+), 10 deletions(-)
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization