summary refs log tree commit diff stats
path: root/accel/kvm/kvm-accel-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel/kvm/kvm-accel-ops.c')
-rw-r--r--accel/kvm/kvm-accel-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/kvm/kvm-accel-ops.c b/accel/kvm/kvm-accel-ops.c
index 54ea60909e..e5c15449aa 100644
--- a/accel/kvm/kvm-accel-ops.c
+++ b/accel/kvm/kvm-accel-ops.c
@@ -90,7 +90,7 @@ static int kvm_update_guest_debug_ops(CPUState *cpu)
 }
 #endif
 
-static void kvm_accel_ops_class_init(ObjectClass *oc, void *data)
+static void kvm_accel_ops_class_init(ObjectClass *oc, const void *data)
 {
     AccelOpsClass *ops = ACCEL_OPS_CLASS(oc);