]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5511e32e361f9ec8835244c52eebfbb5701a0bef
tree791d9eb4de4a87eb77cc49e5035e1508bf4bad22
parentb0f30f79c741f5aabdc39c4a420cc995c821660c
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