diff options
Diffstat (limited to 'hw/kvmclock.c')
-rw-r--r-- | hw/kvmclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kvmclock.c b/hw/kvmclock.c index 88961be42b..5388bc489d 100644 --- a/hw/kvmclock.c +++ b/hw/kvmclock.c @@ -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) |