From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMf1C-0001NG-6R for qemu-devel@nongnu.org; Wed, 18 May 2011 07:34:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMf1B-0006M7-7M for qemu-devel@nongnu.org; Wed, 18 May 2011 07:34:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMf1A-0006M2-Vn for qemu-devel@nongnu.org; Wed, 18 May 2011 07:34:21 -0400 Date: Wed, 18 May 2011 14:34:30 +0300 From: "Michael S. Tsirkin" Message-ID: <20110518113430.GQ7589@redhat.com> References: <20110518091746.GK7589@redhat.com> <20110518105517.GE1705@valinux.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110518105517.GE1705@valinux.co.jp> Subject: Re: [Qemu-devel] [PATCH v2 00/38] pci: initialize ids in pci common code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: kraxel@redhat.com, qemu-devel@nongnu.org On Wed, May 18, 2011 at 07:55:17PM +0900, Isaku Yamahata wrote: > On Wed, May 18, 2011 at 12:17:46PM +0300, Michael S. Tsirkin wrote: > > On Wed, May 18, 2011 at 01:55:17AM +0900, Isaku Yamahata wrote: > > > vender id/device id... in pci configuration space are read-only registers > > > which are commonly defined for all pci devices. > > > So initialize them in common code and it simplifies the initialization a bit. > > > I didn't converted virtio-pci and qxl because it determines ids dynaically. > > > So I'll leave those conversion (or not to convert) to the authors. > > > > Hmm, virtio doesn't: > > static PCIDeviceInfo virtio_info[] = { > > ... > > } > > > > has the array of devices. > > Okay. I missed it somehow. I get the following, And I'll leave > qxl convection to Gerd. Well the devel device id can go it seems, but we need think what to do with the revision. Maybe it's not so terrible that revision will be wrong in -help for qxl - any better ideas? -- MST