aboutsummaryrefslogtreecommitdiff
path: root/hw/kvmclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kvmclock.c')
-rw-r--r--hw/kvmclock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/kvmclock.c b/hw/kvmclock.c
index b73aec409c..88961be42b 100644
--- a/hw/kvmclock.c
+++ b/hw/kvmclock.c
@@ -59,7 +59,8 @@ static int kvmclock_post_load(void *opaque, int version_id)
return kvm_vm_ioctl(kvm_state, KVM_SET_CLOCK, &data);
}
-static void kvmclock_vm_state_change(void *opaque, int running, int reason)
+static void kvmclock_vm_state_change(void *opaque, int running,
+ RunState state)
{
KVMClockState *s = opaque;