x86emul: tell cmpxchg hook whether LOCK is in effect
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Mar 2018 09:38:02 +0000 (10:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Mar 2018 09:38:02 +0000 (10:38 +0100)
commit3c78c287aacf897511a33cde27001b6bfabbf69f
tree701fce441a86d6d5499f14d26cd87f9b77ccfd29
parentabf5fb62f73d0dbeabc6a8cd6dbb55174b36c8d1
x86emul: tell cmpxchg hook whether LOCK is in effect

This is necessary for the hook to correctly perform the operation.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
tools/fuzz/x86_instruction_emulator/fuzz-emul.c
tools/tests/x86_emulator/test_x86_emulator.c
xen/arch/x86/hvm/emulate.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/pv/ro-page-fault.c
xen/arch/x86/x86_emulate/x86_emulate.c
xen/arch/x86/x86_emulate/x86_emulate.h