[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] a simple cleanup


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.