File tree Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,6 @@ static void cpu_common_initfn(Object *obj)
243
243
cpu -> cluster_index = UNASSIGNED_CLUSTER_INDEX ;
244
244
/* user-mode doesn't have configurable SMP topology */
245
245
/* the default value is changed by qemu_init_vcpu() for system-mode */
246
- cpu -> nr_cores = 1 ;
247
246
cpu -> nr_threads = 1 ;
248
247
cpu -> cflags_next_tb = -1 ;
249
248
Original file line number Diff line number Diff line change @@ -407,7 +407,6 @@ struct qemu_work_item;
407
407
* Under TCG this value is propagated to @tcg_cflags.
408
408
* See TranslationBlock::TCG CF_CLUSTER_MASK.
409
409
* @tcg_cflags: Pre-computed cflags for this cpu.
410
- * @nr_cores: Number of cores within this CPU package.
411
410
* @nr_threads: Number of threads within this CPU core.
412
411
* @thread: Host thread details, only live once @created is #true
413
412
* @sem: WIN32 only semaphore used only for qtest
@@ -466,7 +465,6 @@ struct CPUState {
466
465
CPUClass * cc ;
467
466
/*< public >*/
468
467
469
- int nr_cores ;
470
468
int nr_threads ;
471
469
472
470
struct QemuThread * thread ;
Original file line number Diff line number Diff line change @@ -687,7 +687,6 @@ void qemu_init_vcpu(CPUState *cpu)
687
687
{
688
688
MachineState * ms = MACHINE (qdev_get_machine ());
689
689
690
- cpu -> nr_cores = machine_topo_get_cores_per_socket (ms );
691
690
cpu -> nr_threads = ms -> smp .threads ;
692
691
cpu -> stopped = true;
693
692
cpu -> random_seed = qemu_guest_random_seed_thread_part1 ();
You can’t perform that action at this time.
0 commit comments