WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Add a missing line to record the type passed into re

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Add a missing line to record the type passed into register_io_handler()
From: "Wei, Gang" <gang.wei@xxxxxxxxx>
Date: Tue, 4 Jan 2011 11:23:13 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx>
Delivery-date: Mon, 03 Jan 2011 19:24:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcurvrY3cxZ57N1VRWKpqHmSaFzaqA==
Thread-topic: [PATCH] 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@xxxxxxxxx>

diff -r 4e108cf56d07 xen/arch/x86/hvm/intercept.c
--- a/xen/arch/x86/hvm/intercept.c      Mon Dec 27 08:00:09 2010 +0000
+++ b/xen/arch/x86/hvm/intercept.c      Wed Jan 05 16:25:41 2011 +0800
@@ -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++;
 }

Attachment: fix-register_io_handler.patch
Description: fix-register_io_handler.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Add a missing line to record the type passed into register_io_handler(), Wei, Gang <=