summary refs log tree commit diff stats
path: root/gdbstub/system.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-02-10 17:03:29 +0800
committerBibo Mao <maobibo@loongson.cn>2025-03-05 09:39:18 +0800
commita97cceb1d7ed05070dc52e7850112f906d7e3512 (patch)
treedc8f40fbdeebbd80be2461c25dfcbd0809f39519 /gdbstub/system.c
parent25cdac981fd012d9b96d8db9a809841c7e521154 (diff)
downloadfocaccia-qemu-a97cceb1d7ed05070dc52e7850112f906d7e3512.tar.gz
focaccia-qemu-a97cceb1d7ed05070dc52e7850112f906d7e3512.zip
hw/loongarch/virt: Enable cpu hotplug feature on virt machine
On virt machine, enable CPU hotplug feature has_hotpluggable_cpus. For
hot-added CPUs, there is socket-id/core-id/thread-id property set,
arch_id can be caculated from these properties. So that cpu slot can be
searched from its arch_id.

Co-developed-by: Xianglai Li <lixianglai@loongson.cn>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Diffstat (limited to 'gdbstub/system.c')
0 files changed, 0 insertions, 0 deletions