|
@@ -244,6 +244,8 @@ static void cpu_common_initfn(Object *obj)
|
|
gdb_init_cpu(cpu);
|
|
gdb_init_cpu(cpu);
|
|
cpu->cpu_index = UNASSIGNED_CPU_INDEX;
|
|
cpu->cpu_index = UNASSIGNED_CPU_INDEX;
|
|
cpu->cluster_index = UNASSIGNED_CLUSTER_INDEX;
|
|
cpu->cluster_index = UNASSIGNED_CLUSTER_INDEX;
|
|
|
|
+ cpu->as = NULL;
|
|
|
|
+ cpu->num_ases = 0;
|
|
/* user-mode doesn't have configurable SMP topology */
|
|
/* user-mode doesn't have configurable SMP topology */
|
|
/* the default value is changed by qemu_init_vcpu() for system-mode */
|
|
/* the default value is changed by qemu_init_vcpu() for system-mode */
|
|
cpu->nr_threads = 1;
|
|
cpu->nr_threads = 1;
|