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

[Xen-changelog] [xen-3.2-testing] Remove domain_pause()/domain_unpause() from SCHEDOP_remote_shutdown.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1212400769 -3600
# Node ID ca3ebd5b04d327b623b6c8ac1d1e9ed31093f974
# Parent  5aff4284c43cfea52a95059d8287274019afccce
Remove domain_pause()/domain_unpause() from SCHEDOP_remote_shutdown.

It is pointless and causes the hypervisor to hang if dom0 invokes this
hypercall on itself.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   17770:b9879d7108259d685ad567cedeeb785b67ee28e6
xen-unstable date:        Mon Jun 02 10:56:52 2008 +0100
---
 xen/common/schedule.c |    3 ---
 1 files changed, 3 deletions(-)

diff -r 5aff4284c43c -r ca3ebd5b04d3 xen/common/schedule.c
--- a/xen/common/schedule.c     Mon Jun 02 10:59:07 2008 +0100
+++ b/xen/common/schedule.c     Mon Jun 02 10:59:29 2008 +0100
@@ -500,10 +500,7 @@ ret_t do_sched_op(int cmd, XEN_GUEST_HAN
             return ret;
         }
 
-        /* domain_pause() prevens any further execution in guest context. */
-        domain_pause(d);
         domain_shutdown(d, (u8)sched_remote_shutdown.reason);
-        domain_unpause(d);
 
         rcu_unlock_domain(d);
         ret = 0;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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