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] a simple cleanup

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] a simple cleanup
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Mon, 5 Dec 2005 16:08:26 +0800
Delivery-date: Mon, 05 Dec 2005 08:14:03 +0000
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcX4zlPxvKpS4aENTbKEVZVDroPsLQApJVuQ
Thread-topic: [Xen-devel] [PATCH] a simple cleanup
A simple cleanup.

Signed-off-by: Eddie Dong <eddie.dong@xxxxxxxxx>

diff -r f94923f2dd14 -r 213175bc9a26 xen/arch/x86/vmx_io.c
--- a/xen/arch/x86/vmx_io.c     Sun Dec  4 11:06:38 2005
+++ b/xen/arch/x86/vmx_io.c     Mon Dec  5 08:06:18 2005
@@ -748,7 +748,7 @@
 {
     /* clear the event *before* checking for work. This should avoid
        the set-and-check races */
-    if (vmx_clear_pending_io_event(current))
+    if (vmx_clear_pending_io_event(v))
         vmx_io_assist(v);
 }
 
diff -r f94923f2dd14 -r 213175bc9a26 xen/arch/x86/vmx_vmcs.c
--- a/xen/arch/x86/vmx_vmcs.c   Sun Dec  4 11:06:38 2005
+++ b/xen/arch/x86/vmx_vmcs.c   Mon Dec  5 08:06:18 2005
@@ -243,9 +243,6 @@
 {
     struct vmx_platform *platform;
 
-    if (!(VMX_DOMAIN(current) && (current->vcpu_id == 0)))
-        return;
-
     vmx_map_io_shared_page(d);
     vmx_set_vcpu_nr(d);
 

Attachment: clean1.patch
Description: clean1.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] a simple cleanup, Dong, Eddie <=