aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-05-06 08:50:58 -0400
committerAvi Kivity <avi@qumranet.com>2007-07-16 05:05:40 -0400
commit47ad8e689b4f94f9fc3b2588a7aaa65e4eca667c (patch)
treeee050d3f0a86f937f10bbc2f6e1893201de323af /drivers/kvm/kvm.h
parent4b02d6daa12465b209ec4f50c363f9553a51f45b (diff)
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 {
139 gfn_t gfn; 139 gfn_t gfn;
140 union kvm_mmu_page_role role; 140 union kvm_mmu_page_role role;
141 141
142 hpa_t page_hpa; 142 u64 *spt;
143 unsigned long slot_bitmap; /* One bit set per slot which has memory 143 unsigned long slot_bitmap; /* One bit set per slot which has memory
144 * in this shadow page. 144 * in this shadow page.
145 */ 145 */