KVM: x86 emulator: If LOCK prefix is used dest arg should be memory.
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:14 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:11 +0000 (12:16 +0300)
commita41ffb7540cb37426759e688083502d6463421b2
treeed71c38eb0af69cfbb412a1a6a0e8c1221b6c66d
parentfd5253658b403d51fc19e56ecb44c54a3071fded
KVM: x86 emulator: If LOCK prefix is used dest arg should be memory.

If LOCK prefix is used dest arg should be memory, otherwise instruction
should generate #UD.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c