aboutsummaryrefslogtreecommitdiff
path: root/xen-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen-common.c')
-rw-r--r--xen-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen-common.c b/xen-common.c
index acb738f2ff..56359ca725 100644
--- a/xen-common.c
+++ b/xen-common.c
@@ -110,7 +110,7 @@ static void xen_change_state_handler(void *opaque, int running,
}
}
-static int xen_init(MachineClass *mc)
+static int xen_init(MachineState *ms)
{
xen_xc = xen_xc_interface_open(0, 0, 0);
if (xen_xc == XC_HANDLER_INITIAL_VALUE) {