devices lack the model= attribute which is used by
most other device types. bus= mostly acts as one, but it
serves other purposes too like determing what target=
prefix to use, and for matching against controller type=
values.
Extending bus= to handle additional virtio transitional
devices will
Add new model values for virtio transitional devices. When
combined with bus='virtio':
* "virtio-transitional" maps to qemu "virtio-blk-pci-transitional"
* "virtio-non-transitional" maps to qemu "virtio-blk-pci-non-transitional"
Signed-off-by: Cole Robinson
---
src/qemu/qemu_command.c
Signed-off-by: Cole Robinson
---
tests/qemuxml2xmltest.c | 57 ++---
1 file changed, 42 insertions(+), 15 deletions(-)
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 82e2c0ee0f..b686a585e8 100644
--- a/tests/qemuxml2xmltest.c
+++
This generates new XML like:
virtio-transitional
virtio-non-transitional
Signed-off-by: Cole Robinson
---
src/conf/domain_capabilities.c| 1 +
src/conf/domain_capabilities.h| 1 +
src/qemu/qemu_capabilities.c
The next release of QEMU is going to be 4.0.0. A bit early, but
this adds capabilities data for x86_64 from current qemu git
15bede554162dda822cd762c689edb6fa32b6e3b
Signed-off-by: Cole Robinson
---
.replies file snipped so mailing list doesn't reject it
.../caps_4.0.0.x86_64.replies
Add new model values for virtio transitional devices
* "virtio-transitional" maps to qemu "virtio-rng-pci-transitional"
* "virtio-non-transitional" maps to qemu "virtio-rng-pci-non-transitional"
Signed-off-by: Cole Robinson
---
docs/formatdomain.html.in| 2 ++
This series adds the beginnings of support for virtio-transitional
and virtio-non-transitional qemu devices.
qemu patches, queued for qemu 4.0.0:
https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg00923.html
Previous libvirt discussion around this:
As planned I just tagged the release in git and pushed signed tarball and
rpms to the usual place:
ftp://libvirt.org/libvirt/
Seems to work for me in limited tests, https://ci.centos.org/view/libvirt/
shows the same status as at freeze time same 3 edge case are red.
Let's give it some