@@ -529,8 +529,6 @@ static void machine_pre_init(MachineState *ms)
};
machine_set_smp_parameters(ms);
- smp_cores = ms->cores;
- smp_threads = ms->threads;
max_cpus = ms->maxcpus;
smp_cpus = ms->cpus;
@@ -27,16 +27,6 @@ void cpu_synchronize_all_post_init(void);
void qtest_clock_warp(int64_t dest);
-#ifndef CONFIG_USER_ONLY
-/* vl.c */
-extern int smp_cores;
-extern int smp_threads;
-#else
-/* *-user doesn't have configurable SMP topology */
-#define smp_cores 1
-#define smp_threads 1
-#endif
-
void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
#endif
@@ -155,8 +155,6 @@ int win2k_install_hack = 0;
int singlestep = 0;
int smp_cpus = 1;
int max_cpus = 1;
-int smp_cores = 1;
-int smp_threads = 1;
int acpi_enabled = 1;
int no_hpet = 0;
int fd_bootchk = 1;
The smp_cores and smp_threads globals are no longer used. Vanish them. Signed-off-by: Andrew Jones <drjones@redhat.com> --- hw/core/machine.c | 2 -- include/sysemu/cpus.h | 10 ---------- vl.c | 2 -- 3 files changed, 14 deletions(-) -- 2.4.11