qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] linux-user: usbfs improvements
@ 2018-10-08  4:27 Cortland Tölva
  2018-10-08  4:27 ` [Qemu-devel] [PATCH 1/2] linux-user: Use calculated sizes for usbfs ioctls Cortland Tölva
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Cortland Tölva @ 2018-10-08  4:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: Cortland Setlow Tölva, Laurent Vivier

From: Cortland Setlow Tölva <cst@tolva.net>

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(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-08 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-08  4:27 [Qemu-devel] [PATCH 0/2] linux-user: usbfs improvements Cortland Tölva
2018-10-08  4:27 ` [Qemu-devel] [PATCH 1/2] linux-user: Use calculated sizes for usbfs ioctls Cortland Tölva
2018-10-08  4:27 ` [Qemu-devel] [PATCH 2/2] linux-user: Implement usbfs submit and reap ioctls Cortland Tölva
2018-10-08  6:59 ` [Qemu-devel] [PATCH 0/2] linux-user: usbfs improvements Laurent Vivier
2018-10-08 15:20   ` Cortland Setlow Tölva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).