]> git.proxmox.com Git - mirror_qemu.git/blobdiff - xen-all.c
linux-user: Move if-elses to a switch statement.
[mirror_qemu.git] / xen-all.c
index 4a594bdd9b5654bf8128200c7286bae36a6adce1..ba3473901e6a5e47602f417706200cb01929b579 100644 (file)
--- a/xen-all.c
+++ b/xen-all.c
@@ -1001,7 +1001,7 @@ static void xen_exit_notifier(Notifier *n, void *data)
     xs_daemon_close(state->xenstore);
 }
 
-int xen_init(void)
+int xen_init(QEMUMachine *machine)
 {
     xen_xc = xen_xc_interface_open(0, 0, 0);
     if (xen_xc == XC_HANDLER_INITIAL_VALUE) {