Linux usermode emulation user mode USB driver support.
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest3 patches 6 repliesIn review
Changes in v3 from the cover letter
calculate ioctl arg size at runtime
organize urb metadata with struct
hold lock_user memory from submit until reap supersedes patch series 'linux-user: usbfs improvements'
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | linux-user: Check for Linux USBFS in configureconfigure | +11 | 0 replies | |
| 2/3 | linux-user: Define ordinary usbfs ioctls.linux-user/ linux-user/ linux-user/ +1 more | +113 | 1 reply | |
| 3/3 | linux-user: Implement special usbfs ioctls.linux-user/ linux-user/ linux-user/ +1 more | +209 | 5 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Laurent Vivier |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 0/3] Linux usermode emulation user mode USB driver support.
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.
The series compiles for i386, ppc64, ppc64le, mips, mipsel, xtensa, and xtensaeb with an armv7l host and an x86_64 host. The i386-linux-user target is tested working with a USB scanner driver on an armv7l host. Additionally, a patched copy of strace was used to verify the conversion for reaping. Additionally, a MIPS binary of lsusb was run on armv7l host to check reaping and other functionality across endianness.
Changes from v1:
use check_include in configure
move struct definitions to later patch where possible improve pointer cast to int compatibility remove unimplemented types for usb streams
Changes from v2:
calculate ioctl arg size at runtime
organize urb metadata with struct
hold lock_user memory from submit until reap supersedes patch series 'linux-user: usbfs improvements'
Cortland Tölva (3):
linux-user: Check for Linux USBFS in configure
linux-user: Define ordinary usbfs ioctls.
linux-user: Implement special usbfs ioctls.
configure | 12 ++- linux-user/ioctls.h | 46 ++++++++++++ linux-user/syscall.c | 180 +++++++++++++++++++++++++++++++++++++++++++++ linux-user/syscall_defs.h | 28 +++++++ linux-user/syscall_types.h | 68 +++++++++++++++++ 5 files changed, 333 insertions(+), 1 deletion(-)
Signature · 1 line
2.11.0