qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Hi Natalia.. A query regarding QEMU


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Hi Natalia.. A query regarding QEMU
Date: Mon, 07 Nov 2011 12:28:13 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110927 Red Hat/3.1.15-1.el6_1 Thunderbird/3.1.15

  Hi,

> What I can tell you is that Android phones/tablets are USB devices,
> and QEMU have an incomplete support for REAL USB devices with QEMU
> behaving as an USB host. But QEMU is not designed currently to work
> as a USB device to a real USB host.
> 
> If you want to code that support yourself, you'll need a virtual host
> controller implementation on the host operating system, and then
> implementing QEMU behavior as an Android device (be it USB Mass
> Storage Device or Android Debug device).

Another option would be to explore the usbredir support recently added
to qemu.  The focus of the current implementation is to support
forwarding usb devices over the network.  You have a little server
running which export a usb device, and qemu's usbredir backend connects
to the server and allows the guest to access the device.

Of course you can replace the server side with something emulating a usb
device, for example a emulated android device with usb-host support,
i.e. you have two qemu's running, one with android, one with a linux or
windows guest os, and you'll link the two using the usbredir protocol.

Cc'ing Hans who wrote the usbredir support.

cheers,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]