]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda6f23786b048fd3c708b7a3ddb1b4c83de74943
tree22d121a01ed93be00360d5549c3cbcc65790be07
parent7bdd5bf202d9ab721e0c014657a9007ba512ad3a
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