projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d44e3c1
)
Remove domain_pause()/domain_unpause() from SCHEDOP_remote_shutdown.
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 2 Jun 2008 09:56:52 +0000
(10:56 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 2 Jun 2008 09:56:52 +0000
(10:56 +0100)
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>
xen/common/schedule.c
patch
|
blob
|
history
diff --git
a/xen/common/schedule.c
b/xen/common/schedule.c
index 4248ae9ea8e0ed05ea3069c2f3cba206e3e87634..2934d07029d43b373709c8a0584a6b429d5ad765 100644
(file)
--- a/
xen/common/schedule.c
+++ b/
xen/common/schedule.c
@@
-503,10
+503,7
@@
ret_t do_sched_op(int cmd, XEN_GUEST_HANDLE(void) arg)
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;