Re: [RFC] docs/s390: Fix wrong command example in s390-cpu-topology.rst

2023-11-27 Thread Zhao Liu
Hi Nina, On Mon, Nov 27, 2023 at 01:58:32PM +0100, Nina Schoetterl-Glausch wrote: > Date: Mon, 27 Nov 2023 13:58:32 +0100 > From: Nina Schoetterl-Glausch > Subject: Re: [RFC] docs/s390: Fix wrong command example in > s390-cpu-topology.rst > > On Mon, 2023-11-27 at 17:39 +08

Re: [RFC] docs/s390: Fix wrong command example in s390-cpu-topology.rst

2023-11-27 Thread Nina Schoetterl-Glausch
On Mon, 2023-11-27 at 17:39 +0800, Zhao Liu wrote: > From: Zhao Liu > > From s390_possible_cpu_arch_ids() in hw/s390x/s390-virtio-ccw.c, the > "core-id" is the index of pssible_cpus->cpus[], so it should only be s/pssible_cpus/possible_cpus/ > less than possible_cpus->len, which is equal to

[RFC] docs/s390: Fix wrong command example in s390-cpu-topology.rst

2023-11-27 Thread Zhao Liu
From: Zhao Liu >From s390_possible_cpu_arch_ids() in hw/s390x/s390-virtio-ccw.c, the "core-id" is the index of pssible_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 is greater than maxcpus (36) in