]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: don't clear mtf_pending when nested events are blocked
authorOliver Upton <oupton@google.com>
Mon, 6 Apr 2020 20:12:37 +0000 (20:12 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 Apr 2020 08:21:41 +0000 (04:21 -0400)
commit702e32df4720f0a1497fef79d5c0ae834aaf7d23
tree7cd05a6a14fbe7e60557756dc9597330d11f264b
parentccaf1922d1b5baefcd99f9be4661fa7b38d86bb1
KVM: nVMX: don't clear mtf_pending when nested events are blocked

If nested events are blocked, don't clear the mtf_pending flag to avoid
missing later delivery of the MTF VM-exit.

Fixes: f2494acd76545 ("KVM: nVMX: Emulate MTF when performing instruction emulation")
Signed-off-by: Oliver Upton <oupton@google.com>
Message-Id: <20200406201237.178725-1-oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c