diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2023-11-27 21:49:17 +0800 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-28 14:27:18 +0100 |
commit | 0180a744636e6951996240b96a250d20ad0fad0d (patch) | |
tree | af5f8d633531749de3589ffe9de077962fd4474e /hw/i386/kvm/xen_gnttab.c | |
parent | 235948bf53860a1e2df5134eae7b0a30a971a124 (diff) |
docs/s390: Fix wrong command example in s390-cpu-topology.rst
From s390_possible_cpu_arch_ids() in hw/s390x/s390-virtio-ccw.c, the
"core-id" is the index of possible_cpus->cpus[], so it should only be
less than possible_cpus->len, which is equal to ms->smp.max_cpus.
Fix the wrong "core-id" 112, because it isn't less than maxcpus (36) in
-smp, and the valid core ids are 0-35 inclusive.
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com>
Message-ID: <20231127134917.568552-1-zhao1.liu@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/i386/kvm/xen_gnttab.c')
0 files changed, 0 insertions, 0 deletions