qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 00/38] pci: initialize ids in pci common code


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH v2 00/38] pci: initialize ids in pci common code
Date: Wed, 18 May 2011 12:17:46 +0300
User-agent: Mutt/1.5.21 (2010-09-15)

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.

qxl has a property to convert device id to 'development'
and to tweak revision through a qdev property.
Gerd, could you comment on why this is useful?

-- 
MST



reply via email to

[Prev in Thread] Current Thread [Next in Thread]