Re: [Qemu-devel] [PATCH 1/7] pci: move ids of config space into PCIDeviceInfo

2011-05-05 Thread Michael S. Tsirkin
So the benefit as I see it would be that qemu will be able to list supported devices by vendor id etc. lspci has a database of readable vendor/device strings, maybe we can import that. And we could sort by device type, that's also helpful. header type/prog interface - not so sure. On Fri, Apr 08

[Qemu-devel] [PATCH 1/7] pci: move ids of config space into PCIDeviceInfo

2011-04-08 Thread Isaku Yamahata
vender id/device id... in configuration space are read-only registers which are commonly defined for all pci devices. So move those initialization into common place. Signed-off-by: Isaku Yamahata --- hw/pci.c | 46 -- hw/pci.h |9 + 2 fil