Re: [Qemu-devel] [RFC PATCH 4/4] vfio-pci: pass the aer error to guest

2015-01-28 Thread Chen Fan
On 01/12/2015 11:24 PM, Alex Williamson wrote: On Mon, 2015-01-12 at 11:04 +0800, Chen Fan wrote: when the vfio device encounters an uncorrectable error in host, the vfio_pci driver will signal the eventfd registered by this vfio device, the results in the qemu eventfd handler getting inv

Re: [Qemu-devel] [RFC PATCH 4/4] vfio-pci: pass the aer error to guest

2015-01-12 Thread Alex Williamson
On Mon, 2015-01-12 at 11:04 +0800, Chen Fan wrote: > when the vfio device encounters an uncorrectable error in host, > the vfio_pci driver will signal the eventfd registered by this > vfio device, the results in the qemu eventfd handler getting > invoked. > > this patch is to pass the error to

[Qemu-devel] [RFC PATCH 4/4] vfio-pci: pass the aer error to guest

2015-01-11 Thread Chen Fan
when the vfio device encounters an uncorrectable error in host, the vfio_pci driver will signal the eventfd registered by this vfio device, the results in the qemu eventfd handler getting invoked. this patch is to pass the error to guest and have the guest driver recover from the error. Signed