All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: berrange@redhat.com, "Philippe Mathieu-Daudé" <philmd@redhat.com>,
	victortoso@redhat.com, qemu-devel@nongnu.org
Subject: Re: Half a usb-redir idea
Date: Wed, 17 Mar 2021 07:30:20 +0100	[thread overview]
Message-ID: <20210317063020.ldkuvwgdxxdvxlzt@sirius.home.kraxel.org> (raw)
In-Reply-To: <YFD8mXa4P/fVIZd6@work-vm>

  Hi,

> > What about DMA accesses?
> 
> I was assuming it was wired to the other half of usbredir than
> the current qemu client side code, so it would handle it.

Yep, that is for the most part handled by the host adapter emulation.
The usb device emulation will see an USBPacket struct with an iovec,
typically pointing to guest ram, but you can easily have the usbredir
server bits point to network packet content instead and the device
emulation code wouldn't notice the difference.

take care,
  Gerd



  parent reply	other threads:[~2021-03-17  6:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16 17:21 Half a usb-redir idea Dr. David Alan Gilbert
2021-03-16 18:40 ` Philippe Mathieu-Daudé
2021-03-16 18:44   ` Dr. David Alan Gilbert
2021-03-16 21:06     ` Marc-André Lureau
2021-03-17  6:30     ` Gerd Hoffmann [this message]
2021-03-17  6:24 ` Gerd Hoffmann
2021-03-17  9:10   ` Dr. David Alan Gilbert
2021-03-17 10:16     ` Gerd Hoffmann
2021-03-17 10:41       ` Thanos Makatos

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=20210317063020.ldkuvwgdxxdvxlzt@sirius.home.kraxel.org \
    --to=kraxel@redhat.com \
    --cc=berrange@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=victortoso@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.