diff options
author | Keir Fraser <keir@xen.org> | 2012-05-30 09:27:51 +0100 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2012-05-30 09:27:51 +0100 |
commit | 284f43f4fd6dccfff3b72afded0be03b3fe45091 (patch) | |
tree | af609cd27c2e4854d0eac101a0a31907d7d42fbc /xen/include/asm-x86/hvm/vmx | |
parent | de0e85188ca9e240e774f4598139ba92ee5ce4f8 (diff) | |
download | xen-284f43f4fd6dccfff3b72afded0be03b3fe45091.tar.gz xen-284f43f4fd6dccfff3b72afded0be03b3fe45091.tar.bz2 xen-284f43f4fd6dccfff3b72afded0be03b3fe45091.zip |
xen: Define new struct hvm_trap and cleanup vmx exception
Define new struct hvm_trap to represent information of trap, and
renames hvm_inject_exception to hvm_inject_trap, then define a couple
of wrappers around that function for existing callers.
Signed-off-by: Keir Fraser <keir@xen.org>
Signed-off-by: Xudong Hao <xudong.hao@intel.com>
Committed-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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xen/include/asm-x86/hvm/vmx/vmx.h b/xen/include/asm-x86/hvm/vmx/vmx.h index f003f84be1..accfa3f81b 100644 --- a/xen/include/asm-x86/hvm/vmx/vmx.h +++ b/xen/include/asm-x86/hvm/vmx/vmx.h @@ -387,7 +387,6 @@ static inline int __vmxon(u64 addr) return rc; } -void vmx_inject_hw_exception(int trap, int error_code); void vmx_inject_extint(int trap); void vmx_inject_nmi(void); |