diff options
Diffstat (limited to 'hw/i386/kvm')
-rw-r--r-- | hw/i386/kvm/clock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/i386/kvm/clock.c b/hw/i386/kvm/clock.c index 363d1b5743..75ad1ba6f0 100644 --- a/hw/i386/kvm/clock.c +++ b/hw/i386/kvm/clock.c @@ -254,11 +254,13 @@ static const VMStateDescription kvmclock_reliable_get_clock = { * final pages of memory (which happens between vm_stop() * and pre_save()) takes max_downtime. */ -static void kvmclock_pre_save(void *opaque) +static int kvmclock_pre_save(void *opaque) { KVMClockState *s = opaque; kvm_update_clock(s); + + return 0; } static const VMStateDescription kvmclock_vmsd = { |