public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] kvm-unit-test: disable syscall test in 32 bit mode
Date: Wed, 27 Feb 2013 13:35:11 +0200	[thread overview]
Message-ID: <20130227113510.GF23616@redhat.com> (raw)
In-Reply-To: <20130227112549.GA14849@redhat.com>

On Wed, Feb 27, 2013 at 01:25:49PM +0200, Michael S. Tsirkin wrote:
> Fix this error on 32 bit systems:
> x86/msr.c:122:5: error: unknown register name ‘r11’ in ‘asm’
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Applied, thanks.

> ---
>  x86/msr.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/x86/msr.c b/x86/msr.c
> index 307835d..de7573d 100644
> --- a/x86/msr.c
> +++ b/x86/msr.c
> @@ -112,6 +112,7 @@ static void test_msr_rw(int msr_index, unsigned long long input, unsigned long l
>  
>  static void test_syscall_lazy_load(void)
>  {
> +#ifdef __x86_64__
>      extern void syscall_target();
>      u16 cs = read_cs(), ss = read_ss();
>      ulong tmp;
> @@ -123,6 +124,7 @@ static void test_syscall_lazy_load(void)
>      write_ss(ss);
>      // will crash horribly if broken
>      report("MSR_*STAR eager loading", true);
> +#endif
>  }
>  
>  int main(int ac, char **av)
> -- 
> MST

--
			Gleb.

      reply	other threads:[~2013-02-27 11:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 11:25 [PATCH] kvm-unit-test: disable syscall test in 32 bit mode Michael S. Tsirkin
2013-02-27 11:35 ` Gleb Natapov [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=20130227113510.GF23616@redhat.com \
    --to=gleb@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    /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