summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-05-20 18:38:09 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-21 08:47:55 -0500
commit4f577121a457a5b9f94fdf7e14a29c9be24fcb5d (patch)
tree59e22e0a617e392a65431b82256fb443aa6ad850 /vl.c
parent500f5886d4a6893f7a85550b507601add98d73e6 (diff)
downloadqemu-4f577121a457a5b9f94fdf7e14a29c9be24fcb5d.tar.gz
qemu-4f577121a457a5b9f94fdf7e14a29c9be24fcb5d.tar.bz2
qemu-4f577121a457a5b9f94fdf7e14a29c9be24fcb5d.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;