OSDN Git Service

KVM: x86: nSVM: restore int_vector in svm_clear_vintr
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 14 Sep 2021 15:48:12 +0000 (18:48 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Sep 2021 14:04:40 +0000 (10:04 -0400)
commitaee77e1169c1900fe4248dc186962e745b479d9e
tree023fe184d823358bcab99b15916f756cc8cc8678
parente1fc1553cd78292ab3521c94c9dd6e3e70e606a1
KVM: x86: nSVM: restore int_vector in svm_clear_vintr

In svm_clear_vintr we try to restore the virtual interrupt
injection that might be pending, but we fail to restore
the interrupt vector.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210914154825.104886-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c