summaryrefslogtreecommitdiff
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 acc64d5cc8..acb738f2ff 100644
--- a/xen-common.c
+++ b/xen-common.c
@@ -126,7 +126,7 @@ static void xen_accel_class_init(ObjectClass *oc, void *data)
{
AccelClass *ac = ACCEL_CLASS(oc);
ac->name = "Xen";
- ac->init = xen_init;
+ ac->init_machine = xen_init;
ac->allowed = &xen_allowed;
}