Re: [Qemu-devel] [RFC v3 04/10] vfio: add pcie extanded capability support

2015-02-26 Thread Alex Williamson
On Thu, 2015-02-26 at 17:37 +0800, Chen Fan wrote: > On 02/11/2015 12:39 AM, Alex Williamson wrote: > > On Tue, 2015-02-10 at 15:03 +0800, Chen Fan wrote: > >> when we detect extanded capability in vfio device, then > >> we should initialize the vfio device corresponding feature > >> register bits.

Re: [Qemu-devel] [RFC v3 04/10] vfio: add pcie extanded capability support

2015-02-10 Thread Alex Williamson
On Tue, 2015-02-10 at 15:03 +0800, Chen Fan wrote: > when we detect extanded capability in vfio device, then > we should initialize the vfio device corresponding feature > register bits. > so guest OS can find it and set those bits as needed. > and initialize aer capability. > > Signed-off-by: Che

[Qemu-devel] [RFC v3 04/10] vfio: add pcie extanded capability support

2015-02-09 Thread Chen Fan
when we detect extanded capability in vfio device, then we should initialize the vfio device corresponding feature register bits. so guest OS can find it and set those bits as needed. and initialize aer capability. Signed-off-by: Chen Fan --- hw/vfio/pci.c | 85 ++