]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: do not leak PML full vmexit to L1
authorLadi Prosek <lprosek@redhat.com>
Fri, 31 Mar 2017 08:19:26 +0000 (10:19 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 4 Apr 2017 14:11:06 +0000 (16:11 +0200)
commit231f738648b8d42336f03c1b6af3c97a08b64e3c
tree8a090b38f4911a71ff89986cdf513c2dd94aad41
parent7bb19a31798000d680034745c3a49a7bebadd320
KVM: nVMX: do not leak PML full vmexit to L1

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: 8fe4af08abc6 ("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>
arch/x86/kvm/vmx.c