KVM: nVMX: do not leak PML full vmexit to L1
commit69a09d73e8bd8434e34c5b83913937cc202d87a7
authorLadi Prosek <lprosek@redhat.com>
Fri, 31 Mar 2017 08:19:26 +0000 (31 10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:08:25 +0000 (14 14:08 +0200)
tree182401f8a886ce29243e7bf0fcc747cffdef6b50
parent22e025bc1af900e4ac8b2bea9772cead23d402a1
KVM: nVMX: do not leak PML full vmexit to L1

commit ab007cc94ff9d82f5a8db8363b3becbd946e58cf upstream.

The PML feature is not exposed to guests so we should not be forwarding
the vmexit either.

This commit fixes BSOD 0x20001 (HYPERVISOR_ERROR) when running Hyper-V
enabled Windows Server 2016 in L1 on hardware that supports PML.

Fixes: 843e4330573c ("KVM: VMX: Add PML support in VMX")
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/vmx.c