KVM: x86 emulator: fix regression with cmpxchg8b on i386 hosts
authorAvi Kivity <avi@redhat.com>
Thu, 26 Aug 2010 11:31:30 +0000 (14:31 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 8 Sep 2010 17:50:55 +0000 (14:50 -0300)
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@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found