Re: [RFC PATCH 4/4] cpu: Remove nr_cores from struct CPUState

2024-12-10 Thread Zhao Liu
On Thu, Dec 05, 2024 at 09:57:16AM -0500, Xiaoyao Li wrote: > Date: Thu, 5 Dec 2024 09:57:16 -0500 > From: Xiaoyao Li > Subject: [RFC PATCH 4/4] cpu: Remove nr_cores from struct CPUState > X-Mailer: git-send-email 2.34.1 > > There is no user of it now, remove it. > > S

[RFC PATCH 4/4] cpu: Remove nr_cores from struct CPUState

2024-12-05 Thread Xiaoyao Li
There is no user of it now, remove it. Signed-off-by: Xiaoyao Li --- hw/core/cpu-common.c | 1 - hw/i386/x86-common.c | 2 +- include/hw/core/cpu.h | 2 -- system/cpus.c | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c ind