All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] kvm: bios: Update e820 table for EPT real mode pagetable
@ 2008-10-17  7:17 Sheng Yang
  2008-10-23  7:27 ` Sheng Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Sheng Yang @ 2008-10-17  7:17 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm, Sheng Yang

I remembered I had sent this long long ago, but happened to find it missing in
upstream...

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
---
 bios/rombios.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bios/rombios.c b/bios/rombios.c
index 818ce63..9a1cdd6 100644
--- a/bios/rombios.c
+++ b/bios/rombios.c
@@ -4578,8 +4578,9 @@ ASM_END
                         return;
                         break;
                     case 5:
-                        /* 3 pages before the bios, we map the vmx tss pages */
-                        set_e820_range(ES, regs.u.r16.di, 0xfffbd000L,
+                        /* 4 pages before the bios, 3 pages for vmx tss pages,
+			 * the other page for EPT real mode pagetable */
+                        set_e820_range(ES, regs.u.r16.di, 0xfffbc000L,
                                        0xfffc0000L, 0, 0, 2);
                         regs.u.r32.ebx = 6;
                         regs.u.r32.eax = 0x534D4150;
-- 
1.5.4.5


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

end of thread, other threads:[~2008-10-26 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17  7:17 [PATCH 1/1] kvm: bios: Update e820 table for EPT real mode pagetable Sheng Yang
2008-10-23  7:27 ` Sheng Yang
2008-10-26 15:20   ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.