public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: avi@redhat.com, kvm@vger.kernel.org
Subject: Re: [PATCH unit-tests 1/3] Task stack pointer should point to the end of the page.
Date: Wed, 19 Jan 2011 14:37:29 -0200	[thread overview]
Message-ID: <20110119163729.GA9297@amt.cnet> (raw)
In-Reply-To: <1294752607-7920-1-git-send-email-gleb@redhat.com>

On Tue, Jan 11, 2011 at 03:30:05PM +0200, Gleb Natapov wrote:
> 
> Signed-off-by: Gleb Natapov <gleb@redhat.com>
> ---
>  lib/x86/desc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/x86/desc.c b/lib/x86/desc.c
> index 1bd4421..11bd2a2 100644
> --- a/lib/x86/desc.c
> +++ b/lib/x86/desc.c
> @@ -362,7 +362,7 @@ void setup_tss32(void)
>  		tss[i].cr3 = read_cr3();
>  		tss[i].ss0 = tss[i].ss1 = tss[i].ss2 = 0x10;
>  		tss[i].esp = tss[i].esp0 = tss[i].esp1 = tss[i].esp2 =
> -			(u32)tss_stack[i];
> +			(u32)tss_stack[i] + 4096;
>  		tss[i].cs = 0x08;
>  		tss[i].ds = tss[i].es = tss[i].fs = tss[i].gs = tss[i].ss = 0x10;
>  		tss[i].iomap_base = (u16)desc_size;
> -- 
> 1.7.2.3

Applied, thanks.


      parent reply	other threads:[~2011-01-19 18:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11 13:30 [PATCH unit-tests 1/3] Task stack pointer should point to the end of the page Gleb Natapov
2011-01-11 13:30 ` [PATCH unit-tests 2/3] Test that error code is pushed on exception's task stack Gleb Natapov
2011-01-11 13:30 ` [PATCH unit-tests 3/3] Test that vcpu does not continue to run after issuing S3 Gleb Natapov
2011-01-11 13:53   ` Avi Kivity
2011-01-11 13:54     ` Gleb Natapov
2011-01-11 14:08       ` Avi Kivity
2011-01-11 14:17         ` Gleb Natapov
2011-01-19 16:37 ` Marcelo Tosatti [this message]

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=20110119163729.GA9297@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=gleb@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox