hw/loongarch/virt: Add topo properties on CPU object
authorBibo Mao <maobibo@loongson.cn>
Wed, 5 Mar 2025 01:27:59 +0000 (09:27 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 5 Mar 2025 01:39:17 +0000 (09:39 +0800)
commitd32fde20bd334a9fa4efab95583bc596d01a39ea
treed48967f2cda025e112d572e2dcf529410a0a0556
parent8ccf28c2f6cf54c82485de099b4566b260893445
hw/loongarch/virt: Add topo properties on CPU object

Add some properties such as socket_id, core_id, thread_id and node_id
on LoongArch CPU object.

Co-developed-by: Xianglai Li <lixianglai@loongson.cn>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
target/loongarch/cpu.c
target/loongarch/cpu.h