commit | 16518d5ada690643453eb0aef3cc7841d3623c2d | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Aug 26 14:31:30 2010 +0300 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Wed Sep 08 14:50:55 2010 -0300 |
tree | 1ecef3f87959e48d34f2815ddd66b49da1adfa3d | |
parent | d56557af19867edb8c0e96f8e26399698a08857f [diff] |
KVM: x86 emulator: fix regression with cmpxchg8b on i386 hosts 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>