diff --git a/qemu/include/qom/cpu.h b/qemu/include/qom/cpu.h index afdce6b8..5766d31b 100644 --- a/qemu/include/qom/cpu.h +++ b/qemu/include/qom/cpu.h @@ -225,7 +225,6 @@ struct CPUAddressSpace { * @cpu_index: CPU index (informative). * @nr_cores: Number of cores within this CPU package. * @nr_threads: Number of threads within this CPU. - * @numa_node: NUMA node this CPU is belonging to. * @host_tid: Host thread ID. * @running: #true if CPU is currently running (usermode). * @created: Indicates whether the CPU thread has been successfully created. @@ -263,7 +262,6 @@ struct CPUState { int nr_cores; int nr_threads; - int numa_node; struct QemuThread *thread; #ifdef _WIN32 diff --git a/qemu/target/arm/cpu.h b/qemu/target/arm/cpu.h index b44badb8..e96ec2ba 100644 --- a/qemu/target/arm/cpu.h +++ b/qemu/target/arm/cpu.h @@ -816,6 +816,8 @@ typedef struct ARMCPU { ARMELChangeHook *el_change_hook; void *el_change_hook_opaque; + + int32_t node_id; /* NUMA node this CPU belongs to */ } ARMCPU; static inline ARMCPU *arm_env_get_cpu(CPUARMState *env) diff --git a/qemu/target/i386/cpu.h b/qemu/target/i386/cpu.h index a0c1809f..cef2b845 100644 --- a/qemu/target/i386/cpu.h +++ b/qemu/target/i386/cpu.h @@ -1286,6 +1286,7 @@ typedef struct X86CPU { struct DeviceState *apic_state; struct MemoryRegion *cpu_as_root, *cpu_as_mem, *smram; + int32_t node_id; /* NUMA node this CPU belongs to */ int32_t socket_id; int32_t core_id; int32_t thread_id;