aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-01-05 09:52:54 +0000
committerKeir Fraser <keir@xen.org>2011-01-05 09:52:54 +0000
commit866cfd2c229d58f7ba368af04359291aeb4ff436 (patch)
tree85de3c273277c9803ea4a303d68673a73523bbfb
parent1693185272d9f4d71135f21ab443b5cd8fdfad48 (diff)
downloadxen-866cfd2c229d58f7ba368af04359291aeb4ff436.tar.gz
xen-866cfd2c229d58f7ba368af04359291aeb4ff436.tar.bz2
xen-866cfd2c229d58f7ba368af04359291aeb4ff436.zip
x86 hvm: Add a missing line to record the type passed into register_io_handler()
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>
-rw-r--r--xen/arch/x86/hvm/intercept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/intercept.c b/xen/arch/x86/hvm/intercept.c
index 6ce49b6ad8..54f0f8cc17 100644
--- a/xen/arch/x86/hvm/intercept.c
+++ b/xen/arch/x86/hvm/intercept.c
@@ -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++;
}