Re: [Qemu-devel] [PATCH 1/2] vfio-pci: add flag to identify vfio pci device

2015-03-31 Thread Nikunj A Dadhania
Alex Williamson writes: > On Thu, 2015-03-26 at 12:12 +0530, Nikunj A Dadhania wrote: >> From PCIDevice there is no way to know if the device has a backing >> vfio device. >> >> sPAPR guests inherits the "ibm,loc-code" from the pci pass through >> device in hypervisor. This helps in identifying

Re: [Qemu-devel] [PATCH 1/2] vfio-pci: add flag to identify vfio pci device

2015-03-31 Thread Alex Williamson
On Thu, 2015-03-26 at 12:12 +0530, Nikunj A Dadhania wrote: > From PCIDevice there is no way to know if the device has a backing > vfio device. > > sPAPR guests inherits the "ibm,loc-code" from the pci pass through > device in hypervisor. This helps in identifying the device if there is > any fail

Re: [Qemu-devel] [PATCH 1/2] vfio-pci: add flag to identify vfio pci device

2015-03-26 Thread Alexey Kardashevskiy
On 03/26/2015 05:42 PM, Nikunj A Dadhania wrote: From PCIDevice there is no way to know if the device has a backing vfio device. sPAPR guests inherits the "ibm,loc-code" from the pci pass through device in hypervisor. This helps in identifying the device if there is any failures using this "ibm

[Qemu-devel] [PATCH 1/2] vfio-pci: add flag to identify vfio pci device

2015-03-25 Thread Nikunj A Dadhania
>From PCIDevice there is no way to know if the device has a backing vfio device. sPAPR guests inherits the "ibm,loc-code" from the pci pass through device in hypervisor. This helps in identifying the device if there is any failures using this "ibm,loc-code" for RAS capabilities. CC: Alex Williams