]> Git Repo - qemu.git/blobdiff - hw/kvmclock.c
scsi: add channel to addressing
[qemu.git] / hw / kvmclock.c
index b73aec409c53e9a7c0d15c2e37560f6c6d28307a..5388bc489d20a901c0e021487504b8fffe174259 100644 (file)
@@ -46,7 +46,7 @@ static void kvmclock_pre_save(void *opaque)
      * it on next vmsave (which would return a different value). Will be reset
      * when the VM is continued.
      */
-    s->clock_valid = !vm_running;
+    s->clock_valid = !runstate_is_running();
 }
 
 static int kvmclock_post_load(void *opaque, int version_id)
@@ -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;
 
This page took 0.021801 seconds and 4 git commands to generate.