summary refs log tree commit diff stats
path: root/hw/i386/xen/xen-pvh.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/xen/xen-pvh.c')
-rw-r--r--hw/i386/xen/xen-pvh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/xen/xen-pvh.c b/hw/i386/xen/xen-pvh.c
index f6356f2a7e..067f73e977 100644
--- a/hw/i386/xen/xen-pvh.c
+++ b/hw/i386/xen/xen-pvh.c
@@ -76,7 +76,7 @@ static void xen_pvh_set_pci_intx_irq(void *opaque, int irq, int level)
     }
 }
 
-static void xen_pvh_machine_class_init(ObjectClass *oc, void *data)
+static void xen_pvh_machine_class_init(ObjectClass *oc, const void *data)
 {
     XenPVHMachineClass *xpc = XEN_PVH_MACHINE_CLASS(oc);
     MachineClass *mc = MACHINE_CLASS(oc);