|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] linux: No need to manually bring VCPUs on
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1173708703 0
# Node ID 6d2328b353c842f7490ad81e20786a398a1e2ad5
# Parent 7ec182baf9fd9dde71279c7d65b6b7568def3ea4
linux: No need to manually bring VCPUs online across 'fast' save/restore.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c | 16 +---------------
1 files changed, 1 insertion(+), 15 deletions(-)
diff -r 7ec182baf9fd -r 6d2328b353c8
linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c Mon Mar 12
14:11:07 2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c Mon Mar 12
14:11:43 2007 +0000
@@ -84,7 +84,7 @@ static void post_suspend(int suspend_can
pfn_to_mfn(xen_start_info->console.domU.mfn);
} else {
#ifdef CONFIG_SMP
- cpu_initialized_map = cpumask_of_cpu(0);
+ cpu_initialized_map = cpu_online_map;
#endif
}
@@ -180,20 +180,6 @@ static int take_machine_down(void *p_fas
time_resume();
local_irq_enable();
- if (fast_suspend && !suspend_cancelled) {
- /*
- * In fast-suspend mode the APs may not be brought back online
- * when we resume. In that case we do it here.
- */
- for_each_online_cpu(cpu) {
- if (cpu == 0)
- continue;
- cpu_set_initialized(cpu);
- err = HYPERVISOR_vcpu_op(VCPUOP_up, cpu, NULL);
- BUG_ON(err);
- }
- }
-
return suspend_cancelled;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] linux: No need to manually bring VCPUs online across 'fast' save/restore.,
Xen patchbot-unstable <=
|
|
|
|
|