summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Gibson2016-02-29 07:45:05 +0100
committerDavid Gibson2016-03-15 23:55:10 +0100
commitfbb4e983415dc5a15e167dd00bc4564c57121915 (patch)
treeca24c1b4c1e34d3bd707c886c3e9b6573a4a4362 /scripts
parentspapr_pci: Switch to vfio_eeh_as_op() interface (diff)
downloadqemu-fbb4e983415dc5a15e167dd00bc4564c57121915.tar.gz
qemu-fbb4e983415dc5a15e167dd00bc4564c57121915.tar.xz
qemu-fbb4e983415dc5a15e167dd00bc4564c57121915.zip
spapr_pci: Eliminate class callbacks
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 the class, but we'll continue to clean that up later. On its own this is a rather strange way of doing things, but it's a useful intermediate step to further cleanups. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions