]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: mmu: Don't read PDPTEs when paging is not enabled
authorJunaid Shahid <junaids@google.com>
Thu, 9 Aug 2018 00:45:24 +0000 (17:45 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Sep 2018 22:26:43 +0000 (00:26 +0200)
commit7a84de65613e7439e4e3b5a818f1ebc05e7693d6
treed650446ae38c7f5840a6a2155ec6d353849f3947
parentb7729c0e9a13d98c3a958f1371c89b6b94dd7eac
kvm: mmu: Don't read PDPTEs when paging is not enabled

kvm should not attempt to read guest PDPTEs when CR0.PG = 0 and
CR4.PAE = 1.

Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c