Re: [PATCH] hw/riscv: Fix topo field in error_report

2023-07-18 Thread Alistair Francis
On Tue, Jul 18, 2023 at 5:57 PM Zhao Liu wrote: > > From: Zhao Liu > > "smp.cpus" means the number of online CPUs and "smp.max_cpus" means the > total number of CPUs. > > riscv_numa_get_default_cpu_node_id() checks "smp.cpus" and the > "available CPUs" description in the next error message also i

Re: [PATCH] hw/riscv: Fix topo field in error_report

2023-07-18 Thread Alistair Francis
On Tue, Jul 18, 2023 at 5:57 PM Zhao Liu wrote: > > From: Zhao Liu > > "smp.cpus" means the number of online CPUs and "smp.max_cpus" means the > total number of CPUs. > > riscv_numa_get_default_cpu_node_id() checks "smp.cpus" and the > "available CPUs" description in the next error message also i

[PATCH] hw/riscv: Fix topo field in error_report

2023-07-18 Thread Zhao Liu
From: Zhao Liu "smp.cpus" means the number of online CPUs and "smp.max_cpus" means the total number of CPUs. riscv_numa_get_default_cpu_node_id() checks "smp.cpus" and the "available CPUs" description in the next error message also indicates online CPUs. So report "smp.cpus" in error_report() i