KVM: x86 emulator: add decoding of CMPXCHG8B dst operand
authorGleb Natapov <gleb@redhat.com>
Sun, 21 Mar 2010 11:08:21 +0000 (13:08 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:37 +0000 (12:16 +0300)
commit6550e1f165f384f3a46b60a1be9aba4bc3c2adad
tree791d9eb4de4a87eb77cc49e5035e1508bf4bad22
parent482ac18ae293a3a0b1e1eea95c10dcc9ceeb4708
KVM: x86 emulator: add decoding of CMPXCHG8B dst operand

Decode CMPXCHG8B destination operand in decoding stage. Fixes regression
introduced by "If LOCK prefix is used dest arg should be memory" commit.
This commit relies on dst operand be decoded at the beginning of an
instruction emulation.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c