qom: Register QOM infrastructure early
commit1b71f7c14fab6f00c2680d4489fbee7baf796e4f
authorAndreas Färber <afaerber@suse.de>
Sun, 4 Mar 2012 20:32:35 +0000 (4 21:32 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 13 Mar 2012 18:23:17 +0000 (13 13:23 -0500)
treec325839cecfd3f9df2521a630965b24e74239645
parent03f48b0797c9904301ee91e0081e89b3a3250f91
qom: Register QOM infrastructure early

The constructors for QOM TYPE_INTERFACE were executed rather late in
vl.c's main(). Call them very early so that QOM can safely be used for
machines and CPUs.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c