x86emul: LOCK check adjustments
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Jan 2017 13:37:33 +0000 (14:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Jan 2017 13:37:33 +0000 (14:37 +0100)
commitf2d4f4ba80de8a03a1b0f300d271715a88a8433d
tree659aa57ba17e6a177bd479803bf5772fe81c1fd4
parent045094933dc7ca7a4a35b2ebd582f6ed226684da
x86emul: LOCK check adjustments

BT, being encoded as DstBitBase just like BT{C,R,S}, nevertheless does
not write its (register or memory) operand and hence also doesn't allow
a LOCK prefix to be used.

At the same time CLAC/STAC have no need to explicitly check lock_prefix
- this is being taken care of by generic code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c