From 7d16145c4696772bb5438a43a482f68fbf046370 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Mon, 18 Mar 2024 18:39:36 +0100 Subject: [PATCH] chcpu(8): document limitations of -g Document that chcpu -g is not supported on IBM z/VM because the detach cpu would CLEAR the running zVM guest memory. References: https://www.ibm.com/docs/en/linux-on-z?topic=mc-changing-state-1 https://www.ibm.com/docs/en/zvm/7.3?topic=commands-detach-cpu Reported-by: Heikki Ylipiessa Signed-off-by: Stanislav Brabec --- sys-utils/chcpu.8.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys-utils/chcpu.8.adoc b/sys-utils/chcpu.8.adoc index c5797dfb3..80dfc5f20 100644 --- a/sys-utils/chcpu.8.adoc +++ b/sys-utils/chcpu.8.adoc @@ -37,6 +37,8 @@ Enable the specified CPUs. Enabling a CPU means that the kernel sets it online. *-g*, *--deconfigure* _cpu-list_:: Deconfigure the specified CPUs. Deconfiguring a CPU means that the hypervisor removes the CPU from the virtual hardware on which the Linux instance runs and returns it to the CPU pool. A CPU must be offline, see *-d*, before it can be deconfigured. ++ +*chcpu -g* is not supported on IBM z/VM, CPUs are always in a configured. *-p*, *--dispatch* _mode_:: Set the CPU dispatching _mode_ (polarization). This option has an effect only if your hardware architecture and hypervisor support CPU polarization. Available _modes_ are: -- 2.45.0