Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/kvm
Herbert Xu e001548911 [PATCH] vmx: Fix register constraint in launch code
Both "=r" and "=g" breaks my build on i386:

  $ make
    CC [M]  drivers/kvm/vmx.o
  {standard input}: Assembler messages:
  {standard input}:3318: Error: bad register name `%sil'
  make[1]: *** [drivers/kvm/vmx.o] Error 1
  make: *** [_module_drivers/kvm] Error 2

The reason is that setbe requires an 8-bit register but "=r" does not
constrain the target register to be one that has an 8-bit version on
i386.

According to

	http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153

the correct constraint is "=q".

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-01-22 19:27:02 -08:00
..
Kconfig [PATCH] KVM: Put KVM in a new Virtualization menu 2006-12-13 09:05:46 -08:00
kvm.h [PATCH] KVM: MMU: Replace atomic allocations by preallocated objects 2007-01-05 23:55:27 -08:00
kvm_main.c [PATCH] KVM: Make loading cr3 more robust 2007-01-05 23:55:28 -08:00
kvm_svm.h [PATCH] KVM: Replace __x86_64__ with CONFIG_X86_64 2006-12-13 09:05:46 -08:00
kvm_vmx.h [PATCH] KVM: Replace __x86_64__ with CONFIG_X86_64 2006-12-13 09:05:46 -08:00
Makefile
mmu.c [PATCH] KVM: Simplify mmu_alloc_roots() 2007-01-05 23:55:28 -08:00
paging_tmpl.h [PATCH] KVM: MMU: Add missing dirty bit 2007-01-05 23:55:28 -08:00
segment_descriptor.h
svm.c [PATCH] KVM: add VM-exit profiling 2007-01-11 18:18:21 -08:00
svm.h
vmx.c [PATCH] vmx: Fix register constraint in launch code 2007-01-22 19:27:02 -08:00
vmx.h [PATCH] KVM: Rename some msrs 2006-12-30 10:56:44 -08:00
x86_emulate.c [PATCH] KVM: MMU: Fix cmpxchg8b emulation 2007-01-05 23:55:26 -08:00
x86_emulate.h [PATCH] KVM: Replace __x86_64__ with CONFIG_X86_64 2006-12-13 09:05:46 -08:00