Skip to content
  • Paolo Bonzini's avatar
    KVM: nSVM: extract svm_set_gif · ffdf7f9e
    Paolo Bonzini authored
    
    
    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>
    ffdf7f9e