Re: [PATCH] kvm-unit-test: disable syscall test in 32 bit mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
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.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux