Re: [Qemu-devel] [RFC v3 03/10] aer: introduce pcie_aer_setup to setup aer related bits

2015-02-10 Thread Alex Williamson
On Tue, 2015-02-10 at 15:03 +0800, Chen Fan wrote: because function pcie_aer_init() is for adding a new aer capability, but for vfio device, we only need to capture the aer capability from vfio device configuration space, so here we introduce pcie_aer_setup() to init all raw devices. I don't

[Qemu-devel] [RFC v3 03/10] aer: introduce pcie_aer_setup to setup aer related bits

2015-02-09 Thread Chen Fan
because function pcie_aer_init() is for adding a new aer capability, but for vfio device, we only need to capture the aer capability from vfio device configuration space, so here we introduce pcie_aer_setup() to init all raw devices. Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com ---