Skip to content
Commit 359a6c3d authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: nVMX: do not start the preemption timer hrtimer unnecessarily



The preemption timer can be started even if there is a vmentry
failure during or after loading guest state.  That is pointless,
move the call after all conditions have been checked.

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