Re: [Qemu-devel] [RFC v9 05/18] vfio: add pcie extanded capability support

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > For vfio pcie device, we could expose the extended capability on > PCIE bus. in order to avoid config space broken, we introduce > a copy config for parsing extended caps. and rebuild the pcie > extended config space. > > Signed-off-by: Chen Fan

[Qemu-devel] [RFC v9 05/18] vfio: add pcie extanded capability support

2015-06-08 Thread Chen Fan
For vfio pcie device, we could expose the extended capability on PCIE bus. in order to avoid config space broken, we introduce a copy config for parsing extended caps. and rebuild the pcie extended config space. Signed-off-by: Chen Fan --- hw/vfio/pci.c | 73 +