Re: [PATCH] hw/intc/loongarch_extioi: Move unrealize function to common code

2025-05-26 Thread gaosong
在 2025/5/23 下午5:51, Bibo Mao 写道: Memory about LoongArchExtIOICommonState::cpu is allocated in common code, it had better be freed in common code also. Signed-off-by: Bibo Mao --- hw/intc/loongarch_extioi.c| 9 - hw/intc/loongarch_extioi_common.c | 9 +

[PATCH] hw/intc/loongarch_extioi: Move unrealize function to common code

2025-05-23 Thread Bibo Mao
Memory about LoongArchExtIOICommonState::cpu is allocated in common code, it had better be freed in common code also. Signed-off-by: Bibo Mao --- hw/intc/loongarch_extioi.c| 9 - hw/intc/loongarch_extioi_common.c | 9 + include/hw/intc/loongarch_extioi.h