hw/loongarch/virt: Implement cpu plug interface
authorBibo Mao <maobibo@loongson.cn>
Mon, 10 Feb 2025 07:21:39 +0000 (15:21 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 5 Mar 2025 01:39:18 +0000 (09:39 +0800)
commitab9935d2991e620482b10a261e264f0e6e16ed61
treece9ba41a557defb98f2516dbdf54a00c06993206
parent2cd6857f6f5b92ed6c0fa3404efaa843aaa6be0c
hw/loongarch/virt: Implement cpu plug interface

Implement cpu plug interface, and cold-plug cpu uses plug interface
when cpu object is created.

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