KVM: MMU: fix hashing for TDP and non-paging modes
authorEric Northup <digitaleric@google.com>
Tue, 27 Apr 2010 00:00:05 +0000 (17:00 -0700)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:36:22 +0000 (11:36 +0300)
commit5a7388c2d2faa2cc70c2d4717c8d7836d55459e0
tree3ae800c68c7f66ea340ddcecedd081d0b828011d
parentc4bd09b28907ca17cdb307c32bbcc9882c280feb
KVM: MMU: fix hashing for TDP and non-paging modes

For TDP mode, avoid creating multiple page table roots for the single
guest-to-host physical address map by fixing the inputs used for the
shadow page table hash in mmu_alloc_roots().

Signed-off-by: Eric Northup <digitaleric@google.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c