prep_pci: Convert to QOM realizefn
commit8d5ce2e5643f4055b67ea012d91e812f1e607a83
authorAndreas Färber <andreas.faerber@web.de>
Wed, 16 Jan 2013 14:45:34 +0000 (16 15:45 +0100)
committerAndreas Färber <andreas.faerber@web.de>
Sun, 27 Jan 2013 22:04:26 +0000 (27 23:04 +0100)
tree0d4a22f634993e0362ee33e2503d5cf6f5683eae
parent98aca3c8e8778745cdd0670a792a41314115afa5
prep_pci: Convert to QOM realizefn

SysBusDeviceClass' initfn merely calls SysBusDeviceClass::init, so we
can already hook up our own realizefn overwriting this behavior.

A symmetric unrealizefn is not necessary, knowing that the child's
unrealizefn is still no-op, too. Avoids ripping it out again when
recursive realization at DeviceState-level is implemented.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
hw/prep_pci.c