]> xenbits.xensource.com Git - xen.git/commitdiff
x86 hvm: Add a missing line to record the type passed into register_io_handler()
authorKeir Fraser <keir@xen.org>
Wed, 5 Jan 2011 09:52:54 +0000 (09:52 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 5 Jan 2011 09:52:54 +0000 (09:52 +0000)
Add a missing line to record the type passed into
register_io_handler()

Without this line, the BUFFERED_IO handler was never called.

Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/hvm/intercept.c

index 6ce49b6ad811f9d623edfd5d4f87cabad2948f81..54f0f8cc17e6d0dda22084758c5cf6f309148dd8 100644 (file)
@@ -238,6 +238,7 @@ void register_io_handler(
     handler->hdl_list[num].addr = addr;
     handler->hdl_list[num].size = size;
     handler->hdl_list[num].action.ptr = action;
+    handler->hdl_list[num].type = type;
     handler->num_slot++;
 }