qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Cortland Tölva" <cst@tolva.net>
To: qemu-devel@nongnu.org
Cc: "Cortland Setlow Tölva" <cst@tolva.net>,
	"Laurent Vivier" <laurent@vivier.eu>
Subject: [Qemu-devel] [PATCH 0/2] linux-user: usbfs improvements
Date: Sun,  7 Oct 2018 21:27:45 -0700	[thread overview]
Message-ID: <20181008042747.10130-1-cst@tolva.net> (raw)

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

             reply	other threads:[~2018-10-08  4:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-08  4:27 Cortland Tölva [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181008042747.10130-1-cst@tolva.net \
    --to=cst@tolva.net \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).