Skip to content

libxl: add HVM USB passthrough capability

Juergen Gross xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 4 repliesIn review
  2. v34 patches 1 replySuperseded
  3. v24 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches13 repliesSuperseded

Changes in v4 from the cover letter

- patch 2: corrected libxl__device_destroy() to not use be_path being NULL

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libxl: add function to remove usb controller xenstore entriestools/libxl/libxl_usb.c+44 -141 reply
2/4libxl: add basic support for devices without backendtools/libxl/libxl_device.c tools/libxl/libxl_types_internal.idl tools/libxl/libxl_xshelp.c+53 -241 reply
3/4libxl: add HVM usb passthrough supporttools/libxl/libxl_device.c tools/libxl/libxl_usb.c tools/libxl/xl_cmdimpl.c+311 -931 reply
4/4docs: add HVM USB passthrough documentationdocs/man/xl.cfg.pod.5.in+11 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchWei LiuIan JacksonGeorge Dunlap
1/4A-b
2/4A-b
3/4A-b A-b
4/4A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/4] libxl: add HVM USB passthrough capability

Add the capability to pass USB devices to HVM domains by using the emulation of USB controllers of qemu.

The user interface via xl is the same as for pvusb passthrough, only the type of the usbctrl is different: instead of "qusb" (qemu-based pvusb backend) or "vusb" (kernel-based pvusb backend) the type "devicemodel" is used.

Especially the communication with qemu via qmp commands is based on the patches of George Dunlap sent in 2014:

https://lists.xen.org/archives/html/xen-devel/2014-06/msg00085.html

Changes in V4:
- patch 2: corrected libxl__device_destroy() to not use be_path being NULL

Changes in V3:
- patch 3: rename pvusb_get_port_path() to vusb_get_port_path() as requested by George Dunlap
- patch 4: wording adjusted as requested by Ian Jackson

Changes in V2:
- patches 1-3 removed as already pushed
- split out (new) patch 1 from patch 3 (was 5) as requested by Wei Liu
- addressed code style issues in patch 3 (was 5) as requested by Wei Liu
- added some assert()s n patch 3 (was 5) as requested by Wei Liu

Juergen Gross (4):
libxl: add function to remove usb controller xenstore entries
libxl: add basic support for devices without backend
libxl: add HVM usb passthrough support
docs: add HVM USB passthrough documentation

 docs/man/xl.cfg.pod.5.in             |  12 +-
 tools/libxl/libxl_device.c           |  73 ++++--
 tools/libxl/libxl_types_internal.idl |   1 +
 tools/libxl/libxl_usb.c              | 435 +++++++++++++++++++++++++++--------
 tools/libxl/libxl_xshelp.c           |   6 +-
 tools/libxl/xl_cmdimpl.c             |   4 +-
 6 files changed, 409 insertions(+), 122 deletions(-)
Signature · 7 lines
2.6.6


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel