• Paolo Bonzini's avatar
    KVM: SVM: introduce nested_run_pending · f74f9414
    Paolo Bonzini authored
    We want to inject vmexits immediately from svm_check_nested_events,
    so that the interrupt/NMI window requests happen in inject_pending_event
    right after it returns.
    
    This however has the same issue as in vmx_check_nested_events, so
    introduce a nested_run_pending flag with the exact same purpose
    of delaying vmexit injection after the vmentry.
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    f74f9414
svm.c 107 KB