Received: from eggs.gnu.org ([2001:4830:134:3::10]:57142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuIbh-0006vJ-Dd for qemu-devel@nongnu.org; Wed, 03 Jul 2013 04:40:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuIbe-0005nu-9J for qemu-devel@nongnu.org; Wed, 03 Jul 2013 04:40:09 -0400 Received: from smtp.eu.citrix.com ([46.33.159.39]:4535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuIbe-0005l6-4i for qemu-devel@nongnu.org; Wed, 03 Jul 2013 04:40:06 -0400 Message-ID: <1372840803.27768.159.camel@zakaz.uk.xensource.com> From: Ian Campbell Date: Wed, 3 Jul 2013 09:40:03 +0100 In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD0058785@LONPEX01CL01.citrite.net> References: <1372779366-25446-1-git-send-email-paul.durrant@citrix.com> <1372840122.27768.150.camel@zakaz.uk.xensource.com> <9AAE0902D5BC7E449B7C8E4E778ABCD0058785@LONPEX01CL01.citrite.net> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Xen-devel] [PATCH] Citrix PV Bus device [V3] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Durrant Cc: Paolo Bonzini , "xen-devel@lists.xen.org" , "qemu-devel@nongnu.org" , Anthony Liguori , Stefano Stabellini On Wed, 2013-07-03 at 09:34 +0100, Paul Durrant wrote: > > -----Original Message----- > > From: Ian Campbell > > Sent: 03 July 2013 09:29 > > To: Stefano Stabellini > > Cc: Paolo Bonzini; Paul Durrant; qemu-devel@nongnu.org; Anthony Liguori; > > xen-devel@lists.xen.org > > Subject: Re: [Xen-devel] [Qemu-devel] [PATCH] Citrix PV Bus device [V3] > > > > On Tue, 2013-07-02 at 19:05 +0100, Stefano Stabellini wrote: > > > On Tue, 2 Jul 2013, Stefano Stabellini wrote: > > > > - the new device should have configurable vendor and device ids, so that > > > > host admins can select which vendor's PV drivers are going to be > > > > automatically installed on all your Windows guests. This should probably > > > > be a VM config option (pvdevice=, libxl > > would > > > > then pass a vendor and device id pair to QEMU via command line. > > > > We can come up with a config syntax that would support both numeric > > > > pairs as well as simple labels. > > > > > > Anthony, > > > would you be happy to have a PCI device in QEMU with configurable > > vendor > > > and device IDs? > > > > IIRC there is also a revision field in the PCI config space. Might as > > well make that configurable too. > > > > Already did that :-) > > > There are also sub-vendor and sub-device IDs but I don't think they are > > so useful for us (AFAIK they are intended to allow the board > > manufacturer to "subclass" the IDs baked into the ASIC). > > > > I'm always hazy about what those mean. I thought the idea was that a > vendor may collect together many devices, potentially from different > vendors, into a single chip/board and they should use common subsystem > vendor/device info for all those devices to indicate that they were > all part of that larger unit - but maybe I'm completely wrong. I figured it was so the board vendor could add "value" in their drivers by taking advantage of the higher precedence given to the binding to the sub-ids by OSs.