Re: [Qemu-devel] [RFC v4 3/9] vfio: add pcie extanded capability support

2015-03-10 Thread Chen Fan
On 03/10/2015 04:28 AM, Alex Williamson wrote: On Mon, 2015-03-02 at 15:16 +0800, Chen Fan wrote: For vfio pcie device, we could expose the extanded capability on s/extanded/extended/ PCIE bus. in order to avoid config space broken, we introduce a copy config for parsing extended caps. and r

Re: [Qemu-devel] [RFC v4 3/9] vfio: add pcie extanded capability support

2015-03-09 Thread Alex Williamson
On Mon, 2015-03-02 at 15:16 +0800, Chen Fan wrote: > For vfio pcie device, we could expose the extanded capability on s/extanded/extended/ > 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. > >

[Qemu-devel] [RFC v4 3/9] vfio: add pcie extanded capability support

2015-03-01 Thread Chen Fan
For vfio pcie device, we could expose the extanded 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 | 83 +