public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: Fix EPT identity page location
@ 2009-08-03 16:23 Sheng Yang
  2009-08-03 16:23 ` [PATCH] kvm: fix set_ept_identity_addr() in pae Sheng Yang
  2009-08-04 11:58 ` [PATCH] KVM: Fix EPT identity page location Avi Kivity
  0 siblings, 2 replies; 4+ messages in thread
From: Sheng Yang @ 2009-08-03 16:23 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Marcelo Tosatti, Jan Kiszka, kvm, Sheng Yang

Should be new ept_identity_map_addr rather than old macro.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
---
 arch/x86/kvm/vmx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 7931c72..c5aaa1b 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -2199,7 +2199,7 @@ static int alloc_identity_pagetable(struct kvm *kvm)
 		goto out;
 
 	kvm->arch.ept_identity_pagetable = gfn_to_page(kvm,
-			VMX_EPT_IDENTITY_PAGETABLE_ADDR >> PAGE_SHIFT);
+			kvm->arch.ept_identity_map_addr >> PAGE_SHIFT);
 out:
 	up_write(&kvm->slots_lock);
 	return r;
-- 
1.5.4.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-04 11:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-03 16:23 [PATCH] KVM: Fix EPT identity page location Sheng Yang
2009-08-03 16:23 ` [PATCH] kvm: fix set_ept_identity_addr() in pae Sheng Yang
2009-08-04 11:59   ` Avi Kivity
2009-08-04 11:58 ` [PATCH] KVM: Fix EPT identity page location Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox