debuggers.hg

changeset 22694:41a259d7a33d

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>
author Keir Fraser <keir@xen.org>
date Wed Jan 05 09:52:54 2011 +0000 (2011-01-05)
parents 852d87e0480b
children 39194f457534
files xen/arch/x86/hvm/intercept.c
line diff
     1.1 --- a/xen/arch/x86/hvm/intercept.c	Wed Jan 05 09:52:18 2011 +0000
     1.2 +++ b/xen/arch/x86/hvm/intercept.c	Wed Jan 05 09:52:54 2011 +0000
     1.3 @@ -238,6 +238,7 @@ void register_io_handler(
     1.4      handler->hdl_list[num].addr = addr;
     1.5      handler->hdl_list[num].size = size;
     1.6      handler->hdl_list[num].action.ptr = action;
     1.7 +    handler->hdl_list[num].type = type;
     1.8      handler->num_slot++;
     1.9  }
    1.10