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

KVM: nSVM: extract svm_set_gif



Extract the code that is needed to implement CLGI and STGI,
so that we can run it from VMRUN and vmexit (and in the future,
KVM_SET_NESTED_STATE).  Skip the request for KVM_REQ_EVENT unless needed,
subsuming the evaluate_pending_interrupts optimization that is found
in enter_svm_guest_mode.

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