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

KVM: SVM: move more vmentry code to assembly



Manipulate IF around vmload/vmsave to remove the confusing usage of
local_irq_enable where interrupts are actually disabled via GIF.
And stuff the RSB immediately without waiting for a RET to avoid
Spectre-v2 attacks.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 9ef1530c
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