x86emul: support RTM instructions
authorJan Beulich <jbeulich@suse.com>
Fri, 30 Sep 2016 14:44:49 +0000 (16:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 30 Sep 2016 14:44:49 +0000 (16:44 +0200)
commitcf415271e3151c9e807e2746c96839a76ad571da
tree09931f2b36531f92054696530b903ef23d299acd
parent47bd00674201bb1a030d4eb604b074a156b1f4d5
x86emul: support RTM instructions

Minimal emulation: XBEGIN aborts right away, hence
- XABORT is just a no-op,
- XEND always raises #GP,
- XTEST always signals neither RTM nor HLE are active.

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