Chunyan Liu wrote:
This patch series is to support pvusb in libxl driver.
---
Changes in v2:
* add LIBXL_HAVE_PVUSB check
* add convertion of domxml USB config to/from xl.cfg
* address other comments
Chunyan Liu (4):
libxl: support creating guest with USB hostdev
libxl: support hotplug USB host device
Add convertion domxml USB config to/from xl.cfg
xlconfigtest: add test on USB convertion
src/libxl/libxl_conf.c | 74 ++++++++++++++++++++
src/libxl/libxl_conf.h | 5 ++
src/libxl/libxl_domain.c | 16 ++++-
src/libxl/libxl_driver.c | 144 +++++++++++++++++++++++++++++++++++++-
src/xenconfig/xen_xl.c | 151 ++++++++++++++++++++++++++++++++++++++++
tests/xlconfigdata/test-usb.cfg | 13 ++++
tests/xlconfigdata/test-usb.xml | 35 ++++++++++
tests/xlconfigtest.c | 1 +
8 files changed, 435 insertions(+), 4 deletions(-)
create mode 100644 tests/xlconfigdata/test-usb.cfg
create mode 100644 tests/xlconfigdata/test-usb.xml
I've fixed all the nits and have pushed this series now.
As Joao mentioned in the V1 review, we'll need a follow-up to add the USB subsys
type to domaincapabilities now that the OVMF series containing an implementation
of connectGetDomainCapabilities is pushed. I can take care of that.
Thanks a lot Chunyan!
Regards,
Jim