search for: thaw_domain

Displaying 2 results from an estimated 2 matches for "thaw_domain".

Did you mean: thaw_domains
2013 Mar 27
2
[PATCH] x86/S3: Restore broken vcpu affinity on resume (v3)
...copy of the current cpu affinity, and mark a flag to restore it later. Later, in the resume process, when enabling nonboot cpus restore these affinities. v2: Fix formatting problems. remove early return in cpu_disable_scheduler() path. v3: Fix remaining errant tab Move restore_vcpu_affinity() to thaw_domains(), eliminating the need to promote for_each_cpupool() Signed-off-by: Ben Guthro <benjamin.guthro@citrix.com> --- xen/arch/x86/acpi/power.c | 4 ++++ xen/common/domain.c | 2 ++ xen/common/schedule.c | 41 ++++++++++++++++++++++++++++++++++++++++- xen/include/xen/sched.h...
2007 Jun 27
1
[PATCH 7/10] SMP support to Xen PM
...e(d); if (is_hvm_domain(d) && !hvm_suspend_domain(d)) { - error = -EINVAL; - goto Unpause; + domain_unpause(d); + return 0; } pd = d; } - + return 1; +} + +static void thaw_domains(void) +{ + struct domain *d; + + if (pd) + { + for_each_domain(d) + { + if (d->domain_id != 0) + domain_unpause(d); + + /* Unpause until recorded last paused domain */ + if (d == pd) + break; + } + } +} + +/...