RE: Half a usb-redir idea

2021-03-17 Thread Thanos Makatos
> -Original Message- > From: Qemu-devel bounces+thanos.makatos=nutanix@nongnu.org> On Behalf Of Gerd > Hoffmann > Sent: 17 March 2021 10:17 > To: Dr. David Alan Gilbert > Cc: victort...@redhat.com; berra...@redhat.com; qemu- > de...@nongnu.org > Subject

Re: Half a usb-redir idea

2021-03-17 Thread Gerd Hoffmann
On Wed, Mar 17, 2021 at 09:10:51AM +, Dr. David Alan Gilbert wrote: > * Gerd Hoffmann (kra...@redhat.com) wrote: > > On Tue, Mar 16, 2021 at 05:21:02PM +, Dr. David Alan Gilbert wrote: > > > Hi, > > > I've got a half-baked idea, which I thought might be worth mentioning. > > > > > > How

Re: Half a usb-redir idea

2021-03-17 Thread Dr. David Alan Gilbert
* Gerd Hoffmann (kra...@redhat.com) wrote: > On Tue, Mar 16, 2021 at 05:21:02PM +, Dr. David Alan Gilbert wrote: > > Hi, > > I've got a half-baked idea, which I thought might be worth mentioning. > > > > How hard would it be to give qemu a usbredir server rather than client? > > The usb par

Re: Half a usb-redir idea

2021-03-16 Thread Gerd Hoffmann
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 io

Re: Half a usb-redir idea

2021-03-16 Thread Gerd Hoffmann
On Tue, Mar 16, 2021 at 05:21:02PM +, Dr. David Alan Gilbert wrote: > Hi, > I've got a half-baked idea, which I thought might be worth mentioning. > > How hard would it be to give qemu a usbredir server rather than client? The usb part is probably not that hard. The devices are not standal

Re: Half a usb-redir idea

2021-03-16 Thread Marc-André Lureau
Hi On Tue, Mar 16, 2021 at 11:33 PM Dr. David Alan Gilbert wrote: > * Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > > On 3/16/21 6:21 PM, Dr. David Alan Gilbert wrote: > > > Hi, > > > I've got a half-baked idea, which I thought might be worth > mentioning. > > > > > > How hard would it b

Re: Half a usb-redir idea

2021-03-16 Thread Philippe Mathieu-Daudé
On 3/16/21 6:21 PM, Dr. David Alan Gilbert wrote: > Hi, > I've got a half-baked idea, which I thought might be worth mentioning. > > How hard would it be to give qemu a usbredir server rather than client? > It would have nothing guest visible but would look logically like the > front (?) half of

Re: Half a usb-redir idea

2021-03-16 Thread Dr. David Alan Gilbert
* Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > On 3/16/21 6:21 PM, Dr. David Alan Gilbert wrote: > > Hi, > > I've got a half-baked idea, which I thought might be worth mentioning. > > > > How hard would it be to give qemu a usbredir server rather than client? > > It would have nothing gue

Half a usb-redir idea

2021-03-16 Thread Dr. David Alan Gilbert
Hi, I've got a half-baked idea, which I thought might be worth mentioning. How hard would it be to give qemu a usbredir server rather than client? It would have nothing guest visible but would look logically like the front (?) half of a usb interface; then you could use all of the existing qemu