KVM: MMU: Store shadow page tables as kernel virtual addresses, not physical

Simpifies things a bit.

Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
Avi Kivity
2007-05-06 15:50:58 +03:00
parent 4b02d6daa1
commit 47ad8e689b
3 changed files with 17 additions and 19 deletions

View File

@@ -139,7 +139,7 @@ struct kvm_mmu_page {
gfn_t gfn;
union kvm_mmu_page_role role;
hpa_t page_hpa;
u64 *spt;
unsigned long slot_bitmap; /* One bit set per slot which has memory
* in this shadow page.
*/