KVM: x86 emulator: fix unlocked CMPXCHG8B emulation
authorGleb Natapov <gleb@redhat.com>
Sun, 21 Mar 2010 14:58:36 +0000 (16:58 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:38 +0000 (12:16 +0300)
commitde3e6480f76804fe06d460ddb1920c7daa07f29b
treeb4c104cd6340daabee6147c65bc04e62166de37b
parent6550e1f165f384f3a46b60a1be9aba4bc3c2adad
KVM: x86 emulator: fix unlocked CMPXCHG8B emulation

When CMPXCHG8B is executed without LOCK prefix it is racy. Preserve this
behaviour in emulator too.

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