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/arch/x86/hvm/io.c | |
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/arch/x86/hvm/io.c')
-rw-r--r-- | xen/arch/x86/hvm/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/io.c b/xen/arch/x86/hvm/io.c index 41a2edea50..31af045fd9 100644 --- a/xen/arch/x86/hvm/io.c +++ b/xen/arch/x86/hvm/io.c @@ -200,7 +200,7 @@ int handle_mmio(void) return 0; case X86EMUL_EXCEPTION: if ( ctxt.exn_pending ) - hvm_inject_exception(ctxt.exn_vector, ctxt.exn_error_code, 0); + hvm_inject_hw_exception(ctxt.exn_vector, ctxt.exn_error_code); break; default: break; |