Skip to content
Commit 1dab1345 authored by Nicholas Krause's avatar Nicholas Krause Committed by Paolo Bonzini
Browse files

kvm: x86: Check kvm_write_guest return value in kvm_write_wall_clock



This makes sure the wall clock is updated only after an odd version value
is successfully written to guest memory.

Signed-off-by: default avatarNicholas Krause <xerofoify@gmail.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 0af2593b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment