]> git.ipfire.org Git - thirdparty/qemu.git/commit
spapr_pci: Remove finish_realize hook
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 29 Feb 2016 06:20:00 +0000 (17:20 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 15 Mar 2016 22:55:11 +0000 (09:55 +1100)
commita36304fdca8ae38f756f2c86158ce1f0831e7fbc
tree88c649f743e0967b91f6b28ec99be5db8fe2adf6
parent72700d7e733948fa7fbb735ccdf2209931c88476
spapr_pci: Remove finish_realize hook

Now that spapr-pci-vfio-host-bridge is reduced to just a stub, there is
only one implementation of the finish_realize hook in sPAPRPHBClass.  So,
we can fold that implementation into its (single) caller, and remove the
hook.  That's the last thing left in sPAPRPHBClass, so that can go away as
well.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
hw/ppc/spapr_pci.c
include/hw/pci-host/spapr.h