kvm.vger.kernel.org archive mirror
 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

* Re: [PATCH 1/1] kvm: bios: Update e820 table for EPT real mode pagetable
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Sheng Yang @ 2008-10-23  7:27 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

On Friday 17 October 2008 15:17:52 Sheng Yang wrote:
> 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>

Avi?
-- 
regards
Yang, Sheng

> ---
>  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;



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

* Re: [PATCH 1/1] kvm: bios: Update e820 table for EPT real mode pagetable
  2008-10-23  7:27 ` Sheng Yang
@ 2008-10-26 15:20   ` Avi Kivity
  0 siblings, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2008-10-26 15:20 UTC (permalink / raw)
  To: Sheng Yang; +Cc: kvm

Sheng Yang wrote:
> On Friday 17 October 2008 15:17:52 Sheng Yang wrote:
>   
>> 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>
>>     
>
> Avi?
>   

Thanks for persisting; applied.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).