From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv0zw-0001Yw-BT for qemu-devel@nongnu.org; Thu, 12 Jun 2014 05:08:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv0zr-0007dm-EC for qemu-devel@nongnu.org; Thu, 12 Jun 2014 05:08:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv0zr-0007di-5c for qemu-devel@nongnu.org; Thu, 12 Jun 2014 05:08:35 -0400 Message-ID: <1402564110.7148.3.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Thu, 12 Jun 2014 11:08:30 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] USB passthrough in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michal Suchanek Cc: "qemu-devel@nongnu.org" On Do, 2014-06-12 at 10:53 +0200, Michal Suchanek wrote: > Hello, > > I hit bug https://bugs.launchpad.net/qemu/+bug/685096 and found the > usb2.txt file in the source which is sadly not installed by the > distribution. > > What I would like is an -usb2 option which instantiates both uhci/ohci > and ehci root hubs. I don't particularly care if the buses appear as > companion or separate. The -usb switch installs what the chipset has by default. On "pc" (piix4 southbridge) this is only uhci. On "q35" (ich9 southbridge) this actually is a uhci/ehci companion setup. > I would also want the -usbdevice host option to attach devices by bus > compatibility to either uhci or ehci. The compatibility level is > already examined in the libusb code so the information should be > available. Not needed. With the companion setup you'll have a usb bus which can handle both usb1 and usb2 devices. If the guest is new enough that it has drivers you can also simply use xhci. cheers, Gerd