From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNNNJ-0002zw-Uz for qemu-devel@nongnu.org; Mon, 07 Nov 2011 06:28:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNNNF-0000Qq-Li for qemu-devel@nongnu.org; Mon, 07 Nov 2011 06:28:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:27065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNNNF-0000Qk-BN for qemu-devel@nongnu.org; Mon, 07 Nov 2011 06:28:21 -0500 Message-ID: <4EB7C0CD.30402@redhat.com> Date: Mon, 07 Nov 2011 12:28:13 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <70B51760-933C-4245-BDD9-26C404D75411@claunia.com> In-Reply-To: <70B51760-933C-4245-BDD9-26C404D75411@claunia.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Hi Natalia.. A query regarding QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Natalia Portillo Cc: Hans de Goede , Ankit Verma , "Developers qemu-devel@nongnu.org" 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