]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Fix nested bus lock VM exit
authorChenyi Qiang <chenyi.qiang@intel.com>
Tue, 14 Sep 2021 09:50:41 +0000 (17:50 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Sep 2021 14:33:12 +0000 (10:33 -0400)
commit0a04c60c2b4a54932858d85ed5ba957b5cd11837
treed1ebed0be210f4e866f2033d1865d1920ec75002
parent14ffd8112a51f4b32cff317f094ff05b884f2b16
KVM: nVMX: Fix nested bus lock VM exit

Nested bus lock VM exits are not supported yet. If L2 triggers bus lock
VM exit, it will be directed to L1 VMM, which would cause unexpected
behavior. Therefore, handle L2's bus lock VM exits in L0 directly.

Fixes: f79dabbd7827 ("KVM: VMX: Enable bus lock VM exit")
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20210914095041.29764-1-chenyi.qiang@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c