qbus: Initialize in standard way
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 3 Feb 2012 19:32:19 +0000 (13:32 -0600)
committerAndreas Färber <afaerber@suse.de>
Mon, 18 Jun 2012 13:14:38 +0000 (15:14 +0200)
commitac7d1ba6d15ff10343d2ff5ea331fa6a41174f3f
treeec16ed5fc06e155dda2bcd829bc81997ea716e86
parent0866aca1de15a12547f52ff8563cf7c163e1898e
qbus: Initialize in standard way

Move code to an initfn and finalizer.
Replace do_qbus_create_inplace() with qbus_realize().

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/qdev.c