[PATCH v2 0/2] qemu: Improve support for usb-net devices

Rayhan Faizel posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20240402091835.249873-1-rayhan.faizel@gmail.com
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
[PATCH v2 0/2] qemu: Improve support for usb-net devices
Posted by Rayhan Faizel 1 month ago
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
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org