[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 1 of 2] Allow ACPI state change with active cpupools
Changing the ACPI state (e.g. power off) while not all cpus are in cpupool 0 will currently crash the hypervisor during disabling the other cpus. Up to now only cpus in Pool-0 were allowed to go offline. There is no reason why a cpu in another cpupool can't be taken offline if there are still other cpus available in that cpupool. As disabling the cpus for an ACPI state change is only a temporary measure (if not poweroff, of course) and all domains are paused in this case, there is no reason to reject removing the last cpu from a cpupool if only paused domains are in this cpupool. The cpus taken offline from a cpupool will be still associated with that cpupool to enable adding them automatically when they are becoming online again. Signed-off-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx> 4 files changed, 80 insertions(+), 9 deletions(-) xen/arch/x86/smpboot.c | 2 - xen/common/cpupool.c | 85 +++++++++++++++++++++++++++++++++++++++----- xen/include/xen/sched-if.h | 1 xen/include/xen/sched.h | 1 Attachment:
xen-staging.hg-2.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |