From 284f43f4fd6dccfff3b72afded0be03b3fe45091 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 30 May 2012 09:27:51 +0100 Subject: 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 Signed-off-by: Xudong Hao Committed-by: Keir Fraser --- xen/arch/x86/hvm/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen/arch/x86/hvm/io.c') 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; -- cgit v1.2.3