commit | 8d5ce2e5643f4055b67ea012d91e812f1e607a83 | [log] [tgz] |
---|---|---|
author | Andreas Färber <andreas.faerber@web.de> | Wed Jan 16 15:45:34 2013 +0100 |
committer | Andreas Färber <andreas.faerber@web.de> | Sun Jan 27 23:04:26 2013 +0100 |
tree | 0d4a22f634993e0362ee33e2503d5cf6f5683eae | |
parent | 98aca3c8e8778745cdd0670a792a41314115afa5 [diff] |
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>