Re: [Qemu-devel] [RFC v4 4/9] aer: impove pcie_aer_init to support vfio device

2015-03-12 Thread Chen Fan
On 03/10/2015 04:29 AM, Alex Williamson wrote: On Mon, 2015-03-02 at 15:16 +0800, Chen Fan wrote: extend pcie_aer_init arguments to adjust vfio device. Some discussion of why vfio wants this would be useful. I remain this patch at the latest v5. and add the 'size' argument, because, the aer c

Re: [Qemu-devel] [RFC v4 4/9] aer: impove pcie_aer_init to support vfio device

2015-03-10 Thread Chen Fan
On 03/10/2015 04:29 AM, Alex Williamson wrote: On Mon, 2015-03-02 at 15:16 +0800, Chen Fan wrote: extend pcie_aer_init arguments to adjust vfio device. Some discussion of why vfio wants this would be useful. qemu treats vfio device as an emulated device. and these attributes of aer can be emu

Re: [Qemu-devel] [RFC v4 4/9] aer: impove pcie_aer_init to support vfio device

2015-03-09 Thread Alex Williamson
On Mon, 2015-03-02 at 15:16 +0800, Chen Fan wrote: > extend pcie_aer_init arguments to adjust vfio device. Some discussion of why vfio wants this would be useful. > Signed-off-by: Chen Fan > --- > hw/pci-bridge/ioh3420.c| 3 ++- > hw/pci-bridge/xio3130_downstream.c | 3 ++- > hw/pc

[Qemu-devel] [RFC v4 4/9] aer: impove pcie_aer_init to support vfio device

2015-03-01 Thread Chen Fan
extend pcie_aer_init arguments to adjust vfio device. Signed-off-by: Chen Fan --- hw/pci-bridge/ioh3420.c| 3 ++- hw/pci-bridge/xio3130_downstream.c | 3 ++- hw/pci-bridge/xio3130_upstream.c | 3 ++- hw/pci/pcie_aer.c | 7 --- include/hw/pci/pcie_aer.h