diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-09-14 14:25:22 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-09-14 14:25:22 +0200 |
commit | 00f05388a688508f8a6b0c82d281aebd90a37d4e (patch) | |
tree | 399d6ced6deb961830fdae3353d3bd2fe758f1bf /xen/include/asm-x86/hvm/vmx | |
parent | 83cd2038fed9267e567872ac3c4f9c16fd58f5ab (diff) | |
download | xen-00f05388a688508f8a6b0c82d281aebd90a37d4e.tar.gz xen-00f05388a688508f8a6b0c82d281aebd90a37d4e.tar.bz2 xen-00f05388a688508f8a6b0c82d281aebd90a37d4e.zip |
x86/hvm: don't use indirect calls without need
Direct calls perform better, so we should prefer them and use indirect
ones only when there indeed is a need for indirection.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/hvm/vmx')
-rw-r--r-- | xen/include/asm-x86/hvm/vmx/vmx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/hvm/vmx/vmx.h b/xen/include/asm-x86/hvm/vmx/vmx.h index accfa3f81b..6d9402b182 100644 --- a/xen/include/asm-x86/hvm/vmx/vmx.h +++ b/xen/include/asm-x86/hvm/vmx/vmx.h @@ -387,6 +387,8 @@ static inline int __vmxon(u64 addr) return rc; } +void vmx_get_segment_register(struct vcpu *, enum x86_segment, + struct segment_register *); void vmx_inject_extint(int trap); void vmx_inject_nmi(void); |