summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-05-06 15:50:58 +0300
committerAvi Kivity <avi@qumranet.com>2007-07-16 12:05:40 +0300
commit47ad8e689b4f94f9fc3b2588a7aaa65e4eca667c (patch)
treeee050d3f0a86f937f10bbc2f6e1893201de323af /drivers/kvm/kvm.h
parent4b02d6daa12465b209ec4f50c363f9553a51f45b (diff)
downloadlinux-47ad8e689b4f94f9fc3b2588a7aaa65e4eca667c.tar.gz
linux-47ad8e689b4f94f9fc3b2588a7aaa65e4eca667c.tar.bz2
linux-47ad8e689b4f94f9fc3b2588a7aaa65e4eca667c.zip
KVM: MMU: Store shadow page tables as kernel virtual addresses, not physical
Simpifies things a bit. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 5e6dac5a3c00..fc4a6c1235f0 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -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.
*/