diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2016-02-29 17:45:05 +1100 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2016-03-16 09:55:10 +1100 |
| commit | fbb4e983415dc5a15e167dd00bc4564c57121915 (patch) | |
| tree | ca24c1b4c1e34d3bd707c886c3e9b6573a4a4362 /scripts/qapi.py | |
| parent | 76a9e9f6803f097d8e37afae239c9638ee95dd39 (diff) | |
| download | focaccia-qemu-fbb4e983415dc5a15e167dd00bc4564c57121915.tar.gz focaccia-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/qapi.py')
0 files changed, 0 insertions, 0 deletions