Though usb-net is not explicitly supported, it is already possible to use
usb-net devices directly with libvirt (Simply by setting model type as
'usb-net' and manually providing a USB address)
This patch series intends to fill in some remaining gaps.
1. Automatic USB address assignment
2. New testcase
[Changes in v2]
1. Drop qemu_capabilities patch
2. Fix documentation to reflect correct version.
3. Remove unnecessary comment.
4. Fix commit subject.
Resolves:
https://gitlab.com/libvirt/libvirt/-/issues/14
Rayhan Faizel (2):
conf: Automatically assign address to usb-net device
tests: Add testcase for usb-net
docs/formatdomain.rst | 1 +
src/conf/domain_conf.c | 9 ++++-
src/qemu/qemu_domain_address.c | 4 +++
.../net-usb.x86_64-latest.args | 35 +++++++++++++++++++
.../qemuxmlconfdata/net-usb.x86_64-latest.xml | 35 +++++++++++++++++++
tests/qemuxmlconfdata/net-usb.xml | 20 +++++++++++
tests/qemuxmlconftest.c | 1 +
7 files changed, 104 insertions(+), 1 deletion(-)
create mode 100644 tests/qemuxmlconfdata/net-usb.x86_64-latest.args
create mode 100644 tests/qemuxmlconfdata/net-usb.x86_64-latest.xml
create mode 100644 tests/qemuxmlconfdata/net-usb.xml
--
2.34.1