Re: [PATCH] KVM: x86 emulator: fix regression with cmpxchg8b on i386 hosts

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

 



On Thu, Aug 26, 2010 at 02:31:30PM +0300, Avi Kivity wrote:
> operand::val and operand::orig_val are 32-bit on i386, whereas cmpxchg8b
> operands are 64-bit.
> 
> Fix by adding val64 and orig_val64 union members to struct operand, and
> using them where needed.
> 
> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
> ---
>  arch/x86/include/asm/kvm_emulate.h |    6 +++++-
>  arch/x86/kvm/emulate.c             |    9 ++++-----
>  2 files changed, 9 insertions(+), 6 deletions(-)

Applied, thanks.

--
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