All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sheng Yang <sheng@linux.intel.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH 1/1] kvm: bios: Update e820 table for EPT real mode pagetable
Date: Thu, 23 Oct 2008 15:27:29 +0800	[thread overview]
Message-ID: <200810231527.30085.sheng@linux.intel.com> (raw)
In-Reply-To: <1224227872-27834-1-git-send-email-sheng@linux.intel.com>

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;



  reply	other threads:[~2008-10-23  7:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-10-26 15:20   ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200810231527.30085.sheng@linux.intel.com \
    --to=sheng@linux.intel.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.