KVM: VMX: always require WB memory type for EPT
authorDavid Hildenbrand <david@redhat.com>
Thu, 10 Aug 2017 21:15:29 +0000 (23:15 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Fri, 18 Aug 2017 15:38:01 +0000 (17:38 +0200)
commit42aa53b4e1c05212baf63842515b22920241e5e1
treed3a22d5e93c8b3a21b3f54dc3ecc2aae312041a7
parentbb97a016937816768ffb8cd7a49d9507e8a1bbda
KVM: VMX: always require WB memory type for EPT

We already always set that type but don't check if it is supported. Also
for nVMX, we only support WB for now. Let's just require it.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c