hw/intc/loongarch_extioi: Use cpu plug notification
authorBibo Mao <maobibo@loongson.cn>
Mon, 10 Feb 2025 02:45:13 +0000 (10:45 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 5 Mar 2025 01:39:17 +0000 (09:39 +0800)
commit087a23a87c57725f8653aea9be70a2d55cf0309e
treec460486760f1c374adb6125bc2de35fa3d341e2d
parent8e63a7a7c2227ed014d55717c3a4de90bff426a8
hw/intc/loongarch_extioi: Use cpu plug notification

Use hotplug_handler_plug() to nofity extioi object when cold-plug
cpu is created, so that extioi can set and configure irq routing
to new cpu.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
hw/loongarch/virt.c