Received: from eggs.gnu.org ([2001:4830:134:3::10]:34252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtwTS-00045C-Rl for qemu-devel@nongnu.org; Tue, 02 Jul 2013 05:02:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtwTP-0003VA-8E for qemu-devel@nongnu.org; Tue, 02 Jul 2013 05:02:10 -0400 Received: from smtp.eu.citrix.com ([46.33.159.39]:58170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtwTP-0003Ut-2T for qemu-devel@nongnu.org; Tue, 02 Jul 2013 05:02:07 -0400 Message-ID: <1372755725.27768.20.camel@zakaz.uk.xensource.com> From: Ian Campbell Date: Tue, 2 Jul 2013 10:02:05 +0100 In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD0057609@LONPEX01CL01.citrite.net> References: <1372754385-10186-1-git-send-email-paul.durrant@citrix.com> <51D2AF5302000078000E2283@nat28.tlf.novell.com> <9AAE0902D5BC7E449B7C8E4E778ABCD0057609@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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Durrant Cc: "qemu-devel@nongnu.org" , Jan Beulich , "xen-devel@lists.xen.org" On Tue, 2013-07-02 at 08:57 +0000, Paul Durrant wrote: > > -----Original Message----- > > From: Jan Beulich [mailto:JBeulich@suse.com] > > Sent: 02 July 2013 09:46 > > To: Paul Durrant > > Cc: xen-devel@lists.xen.org; qemu-devel@nongnu.org > > Subject: Re: [Xen-devel] [PATCH] Citrix PV Bus device > > > > >>> On 02.07.13 at 10:39, Paul Durrant wrote: > > > --- a/include/hw/pci/pci_ids.h > > > +++ b/include/hw/pci/pci_ids.h > > > @@ -151,4 +151,7 @@ > > > #define PCI_VENDOR_ID_TEWS 0x1498 > > > #define PCI_DEVICE_ID_TEWS_TPCI200 0x30C8 > > > > > > +#define PCI_VENDOR_ID_CITRIX 0x5853 > > > > Is that really the right way to do things, considering that the same > > value is elsewhere used for PCI_VENDOR_ID_XEN? > > > > Jan > > > > > +#define PCI_DEVICE_ID_CITRIX_PV_BUS 0x0002 > > > + > > > #endif > > > > I opted to do this for clarity. The fact that the Xen platform device > uses Citrix's vendor ID is historical; AFAIR this was XenSource's vendor ID (it is "XS" in ASCII) which was donated to the Xen community. I'll clarify this internally though. > I wanted to be clear that this device was distinct. I think giving two names to the same ID serves only to obfuscate. Ian.