Re: [Qemu-devel] [PATCHv2 3/7] spapr_pci: Eliminate class callbacks

2016-02-28 Thread Alexey Kardashevskiy
On 02/29/2016 06:06 PM, David Gibson wrote: The EEH operations in the spapr-vfio-pci-host-bridge no longer rely on the special groupid field in sPAPRPHBVFIOState. So we can simplify, removing the class specific callbacks with direct calls based on a simple spapr_phb_eeh_enabled() helper. For no

[Qemu-devel] [PATCHv2 3/7] spapr_pci: Eliminate class callbacks

2016-02-28 Thread David Gibson
The EEH operations in the spapr-vfio-pci-host-bridge no longer rely on the special groupid field in sPAPRPHBVFIOState. So we can simplify, removing the class specific callbacks with direct calls based on a simple spapr_phb_eeh_enabled() helper. For now we implement that in terms of a boolean in t