ia64/xen-unstable

changeset 17776:b9879d710825

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@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jun 02 10:56:52 2008 +0100 (2008-06-02)
parents a4775034ef83
children 7155d82576a4
files xen/common/schedule.c
line diff
     1.1 --- a/xen/common/schedule.c	Mon Jun 02 10:55:55 2008 +0100
     1.2 +++ b/xen/common/schedule.c	Mon Jun 02 10:56:52 2008 +0100
     1.3 @@ -503,10 +503,7 @@ ret_t do_sched_op(int cmd, XEN_GUEST_HAN
     1.4              return ret;
     1.5          }
     1.6  
     1.7 -        /* domain_pause() prevens any further execution in guest context. */
     1.8 -        domain_pause(d);
     1.9          domain_shutdown(d, (u8)sched_remote_shutdown.reason);
    1.10 -        domain_unpause(d);
    1.11  
    1.12          rcu_unlock_domain(d);
    1.13          ret = 0;