KVM: x86: Fix page-tables reserved bits
authorNadav Amit <namit@cs.technion.ac.il>
Fri, 4 Apr 2014 03:31:04 +0000 (06:31 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 16 Apr 2014 21:59:23 +0000 (18:59 -0300)
commitcd9ae5fe47dfb9820976c3c38c70f4b07a5a1c36
tree22d121a01ed93be00360d5549c3cbcc65790be07
parent0f689a33ad17845363acdc6d52783befd6ad116c
KVM: x86: Fix page-tables reserved bits

KVM does not handle the reserved bits of x86 page tables correctly:
In PAE, bits 5:8 are reserved in the PDPTE.
In IA-32e, bit 8 is not reserved.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c