Skip to content

linux-user: usbfs improvements

Cortland Tölva qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2linux-user: Use calculated sizes for usbfs ioctls.linux-user/syscall_defs.h+18 -200 replies
2/2linux-user: Implement usbfs submit and reap ioctls.linux-user/ioctls.h linux-user/syscall.c linux-user/syscall_defs.h +1 more+209 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] linux-user: usbfs improvements

From: Cortland Setlow Tölva <[email protected]>

This patch series enables programs running under QEMU Linux user mode emulation to implement user-space USB drivers via the USBFS ioctl()s. Support is limited to control, bulk, and possibly interrupt transfers.

Usbfs ioctl codes were incorrect whenever host and target disagreed on struct size. The submit, discard, and reap usbfs ioctls require special memory buffer handling and the second commit implements this but not for USB3 streams or isochronous transfers.

Cortland Tölva (2):
linux-user: Use calculated sizes for usbfs ioctls.
linux-user: Implement special usbfs ioctls.

 linux-user/ioctls.h        |   8 ++
 linux-user/syscall.c       | 177 +++++++++++++++++++++++++++++++++++++
 linux-user/syscall_defs.h  |  42 ++++-----
 linux-user/syscall_types.h |  20 +++++
 4 files changed, 227 insertions(+), 20 deletions(-)
Signature · 1 line
2.17.1