summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorAnthony Liguori2009-05-21 01:38:09 +0200
committerAnthony Liguori2009-05-21 15:47:55 +0200
commitf80f9ec9a63bb2200d614feb658a77b78f9a4bba (patch)
tree59e22e0a617e392a65431b82256fb443aa6ad850 /vl.c
parentEliminate --disable-gfx-check and make VNC default when SDL not available (diff)
downloadqemu-f80f9ec9a63bb2200d614feb658a77b78f9a4bba.tar.gz
qemu-f80f9ec9a63bb2200d614feb658a77b78f9a4bba.tar.xz
qemu-f80f9ec9a63bb2200d614feb658a77b78f9a4bba.zip
Convert machine registration to use module init functions
This cleans up quite a lot of #ifdefs, extern variables, and other ugliness. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index e28da7ed7d..68c8514aa5 100644
--- a/vl.c
+++ b/vl.c
@@ -4876,7 +4876,7 @@ int main(int argc, char **argv, char **envp)
}
#endif
- register_machines();
+ module_call_init(MODULE_INIT_MACHINE);
machine = first_machine;
cpu_model = NULL;
initrd_filename = NULL;