From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754654Ab1FMQkf (ORCPT ); Mon, 13 Jun 2011 12:40:35 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:40859 "EHLO out4.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754414Ab1FMQk3 (ORCPT ); Mon, 13 Jun 2011 12:40:29 -0400 X-Sasl-enc: 6cusGOttErByvoGO69cMQUM4EnkrAzVENeeDtEF/mfD7 1307983228 Date: Mon, 13 Jun 2011 09:29:12 -0700 From: Greg KH To: Alexander Graf Cc: Sarah Sharp , "linux-usb@vger.kernel.org" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "libusb-devel@lists.sourceforge.net" , Gerd Hoffmann , "hector@marcansoft.com" , Jan Kiszka , Stefan Hajnoczi , "pbonzini@redhat.com" , Anthony Liguori , Jes Sorensen , Alan Stern , Oliver Neukum , Felipe Balbi , Mauro Carvalho Chehab , Clemens Ladisch , Jaroslav Kysela , Takashi Iwai , Laurent Pinchart , Hans de Goede Subject: Re: USB mini-summit at LinuxCon Vancouver Message-ID: <20110613162912.GA1705@kroah.com> References: <20110610002103.GA7169@xanatos> <20110610031805.GA15774@kroah.com> <20110610194815.GA6646@xanatos> <20110610205035.GC13450@kroah.com> <5330D332-119F-40AD-B06F-CEDBD0D02D8D@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5330D332-119F-40AD-B06F-CEDBD0D02D8D@suse.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 13, 2011 at 12:44:57PM +0200, Alexander Graf wrote: > > Am 10.06.2011 um 22:50 schrieb Greg KH : > > > On Fri, Jun 10, 2011 at 12:48:15PM -0700, Sarah Sharp wrote: > >> On Thu, Jun 09, 2011 at 08:18:05PM -0700, Greg KH wrote: > >>> On Thu, Jun 09, 2011 at 05:21:03PM -0700, Sarah Sharp wrote: > >>>> Topic 1 > >>>> ------- > >>>> > >>>> The KVM folks suggested that it would be good to get USB and > >>>> virtualization developers together to talk about how to virtualize the > >>>> xHCI host controller. The xHCI spec architect worked closely with > >>>> VMWare to get some extra goodies in the spec to help virtualization, and > >>>> I'd like to see the other virtualization developers take advantage of > >>>> that. I'd also like us to hash out any issues they have been finding in > >>>> the USB core or xHCI driver during the virtualization effort. > >>> > >>> Do people really want to virtualize the whole xHCI controller, or just > >>> specific ports or devices to the guest operating system? > >> > >> A host OS could chose to virtualize the whole xHCI controller if it > >> wanted to. That's part of the reason why xHCI does all the bandwidth > >> checking in hardware, not in software. > > > > And here I thought it did that so it would be "correct" :) > > > >> > >>> If just specific ports, would something like usbip be better for virtual > >>> machines, with the USB traffic going over the network connection between > >>> the guest/host? > >> > >> It could be done that way too. But that doesn't help if you're trying > >> to run Windows under Linux, right? Only if all the guest OSes use the > >> same USB IP protocol then it would work. > > > > usbip works on Windows as well as Linux. > > Do you have a reliable, working usbip solution at hand that work on > Windows and Linux and doesn't require real network access, which can > be a no-go for some scenarios? What do you mean by "real network access"? A virtual network connection to the guest and host should be sufficient, right? > > But how could you run Windows with a xHCI controller in a guest, as > > Windows has no xHCI driver? What would it expect to see? > > There are drivers for xhci adapters on Windows. Not well-working ones, see the windows driver mailing list as well as the libusb mailing list for problems that people are having due to there not being any "official" Microsoft xhci drivers shipping yet. > Also, this whole discussion is pretty much future oriented - which > most likely means built-in xhci drivers anywhere. Agreed. thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from out4.smtp.messagingengine.com ([66.111.4.28]:40859 "EHLO out4.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754414Ab1FMQk3 (ORCPT ); Mon, 13 Jun 2011 12:40:29 -0400 Date: Mon, 13 Jun 2011 09:29:12 -0700 From: Greg KH To: Alexander Graf Cc: Sarah Sharp , "linux-usb@vger.kernel.org" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "libusb-devel@lists.sourceforge.net" , Gerd Hoffmann , "hector@marcansoft.com" , Jan Kiszka , Stefan Hajnoczi , "pbonzini@redhat.com" , Anthony Liguori , Jes Sorensen , Alan Stern , Oliver Neukum , Felipe Balbi , Mauro Carvalho Chehab , Clemens Ladisch , Jaroslav Kysela , Takashi Iwai , Laurent Pinchart , Hans de Goede Subject: Re: USB mini-summit at LinuxCon Vancouver Message-ID: <20110613162912.GA1705@kroah.com> References: <20110610002103.GA7169@xanatos> <20110610031805.GA15774@kroah.com> <20110610194815.GA6646@xanatos> <20110610205035.GC13450@kroah.com> <5330D332-119F-40AD-B06F-CEDBD0D02D8D@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5330D332-119F-40AD-B06F-CEDBD0D02D8D@suse.de> List-ID: Sender: On Mon, Jun 13, 2011 at 12:44:57PM +0200, Alexander Graf wrote: > > Am 10.06.2011 um 22:50 schrieb Greg KH : > > > On Fri, Jun 10, 2011 at 12:48:15PM -0700, Sarah Sharp wrote: > >> On Thu, Jun 09, 2011 at 08:18:05PM -0700, Greg KH wrote: > >>> On Thu, Jun 09, 2011 at 05:21:03PM -0700, Sarah Sharp wrote: > >>>> Topic 1 > >>>> ------- > >>>> > >>>> The KVM folks suggested that it would be good to get USB and > >>>> virtualization developers together to talk about how to virtualize the > >>>> xHCI host controller. The xHCI spec architect worked closely with > >>>> VMWare to get some extra goodies in the spec to help virtualization, and > >>>> I'd like to see the other virtualization developers take advantage of > >>>> that. I'd also like us to hash out any issues they have been finding in > >>>> the USB core or xHCI driver during the virtualization effort. > >>> > >>> Do people really want to virtualize the whole xHCI controller, or just > >>> specific ports or devices to the guest operating system? > >> > >> A host OS could chose to virtualize the whole xHCI controller if it > >> wanted to. That's part of the reason why xHCI does all the bandwidth > >> checking in hardware, not in software. > > > > And here I thought it did that so it would be "correct" :) > > > >> > >>> If just specific ports, would something like usbip be better for virtual > >>> machines, with the USB traffic going over the network connection between > >>> the guest/host? > >> > >> It could be done that way too. But that doesn't help if you're trying > >> to run Windows under Linux, right? Only if all the guest OSes use the > >> same USB IP protocol then it would work. > > > > usbip works on Windows as well as Linux. > > Do you have a reliable, working usbip solution at hand that work on > Windows and Linux and doesn't require real network access, which can > be a no-go for some scenarios? What do you mean by "real network access"? A virtual network connection to the guest and host should be sufficient, right? > > But how could you run Windows with a xHCI controller in a guest, as > > Windows has no xHCI driver? What would it expect to see? > > There are drivers for xhci adapters on Windows. Not well-working ones, see the windows driver mailing list as well as the libusb mailing list for problems that people are having due to there not being any "official" Microsoft xhci drivers shipping yet. > Also, this whole discussion is pretty much future oriented - which > most likely means built-in xhci drivers anywhere. Agreed. thanks, greg k-h