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

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

 



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. Re-add usb-net capability
2. Automatic USB address assignment
3. New testcase

Fixes: https://gitlab.com/libvirt/libvirt/-/issues/14

Rayhan Faizel (3):
  qemu_capabilities: Re-add QEMU_CAPS_DEVICE_USB_NET capability
  conf: Improve parsing of usb-net devices
  tests: Add testcase for usb-net

 docs/formatdomain.rst                         |  2 +-
 src/conf/domain_conf.c                        |  9 ++++-
 src/qemu/qemu_capabilities.c                  |  3 +-
 src/qemu/qemu_capabilities.h                  |  2 +-
 src/qemu/qemu_domain_address.c                |  5 +++
 .../caps_4.2.0_aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_4.2.0_ppc64.xml |  1 +
 .../caps_4.2.0_x86_64.xml                     |  1 +
 .../caps_5.0.0_aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_5.0.0_ppc64.xml |  1 +
 .../caps_5.0.0_riscv64.xml                    |  1 +
 .../caps_5.0.0_x86_64.xml                     |  1 +
 .../caps_5.1.0_x86_64.xml                     |  1 +
 .../caps_5.2.0_aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_5.2.0_ppc64.xml |  1 +
 .../caps_5.2.0_riscv64.xml                    |  1 +
 .../caps_5.2.0_x86_64.xml                     |  1 +
 .../caps_6.0.0_aarch64.xml                    |  1 +
 .../caps_6.0.0_x86_64.xml                     |  1 +
 .../caps_6.1.0_x86_64.xml                     |  1 +
 .../caps_6.2.0_aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_6.2.0_ppc64.xml |  1 +
 .../caps_6.2.0_x86_64.xml                     |  1 +
 .../caps_7.0.0_aarch64+hvf.xml                |  1 +
 .../caps_7.0.0_aarch64.xml                    |  1 +
 .../qemucapabilitiesdata/caps_7.0.0_ppc64.xml |  1 +
 .../caps_7.0.0_x86_64.xml                     |  1 +
 .../qemucapabilitiesdata/caps_7.1.0_ppc64.xml |  1 +
 .../caps_7.1.0_x86_64.xml                     |  1 +
 tests/qemucapabilitiesdata/caps_7.2.0_ppc.xml |  1 +
 .../caps_7.2.0_x86_64+hvf.xml                 |  1 +
 .../caps_7.2.0_x86_64.xml                     |  1 +
 .../caps_8.0.0_riscv64.xml                    |  1 +
 .../caps_8.0.0_x86_64.xml                     |  1 +
 .../qemucapabilitiesdata/caps_8.1.0_s390x.xml |  1 +
 .../caps_8.1.0_x86_64.xml                     |  1 +
 .../caps_8.2.0_aarch64.xml                    |  1 +
 .../caps_8.2.0_armv7l.xml                     |  1 +
 .../caps_8.2.0_loongarch64.xml                |  1 +
 .../qemucapabilitiesdata/caps_8.2.0_s390x.xml |  1 +
 .../caps_8.2.0_x86_64.xml                     |  1 +
 .../caps_9.0.0_x86_64.xml                     |  1 +
 .../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 +
 46 files changed, 145 insertions(+), 4 deletions(-)
 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@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux