On Thu, Dec 19, 2024 at 06:01:17AM -0500, Xiaoyao Li wrote: > Date: Thu, 19 Dec 2024 06:01:17 -0500 > From: Xiaoyao Li <[email protected]> > Subject: [PATCH v2 02/10] i386/cpu: Drop the variable smp_cores and > smp_threads in x86_cpu_pre_plug() > X-Mailer: git-send-email 2.34.1 > > No need to define smp_cores and smp_threads, just using ms->smp.cores > and ms->smp.threads is straightforward. It's also consistent with other > checks of socket/die/module. > > Signed-off-by: Xiaoyao Li <[email protected]> > --- > hw/i386/x86-common.c | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) >
Reviewed-by: Zhao Liu <[email protected]>
