VMX: move various uses of UD2 out of fast paths
authorJan Beulich <jbeulich@suse.com>
Mon, 9 Sep 2013 08:22:23 +0000 (10:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 9 Sep 2013 08:22:23 +0000 (10:22 +0200)
commitb0df10407df96fe25f3c1a2bffc4be0696d328b4
tree36f131f4dc6846a4d47e45dee8ee2c4f36c758ea
parent71eb3a65e305d2cde6a2fcdae186a7f333c9b778
VMX: move various uses of UD2 out of fast paths

... at once making conditional forward jumps, which are statically
predicted to be not taken, only used for the unlikely (error) cases.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/include/asm-x86/asm_defns.h
xen/include/asm-x86/hvm/vmx/vmx.h