]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_extioi: Add kernel irqchip save and restore function
authorBibo Mao <maobibo@loongson.cn>
Fri, 6 Jun 2025 06:30:22 +0000 (14:30 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 19 Jun 2025 07:43:11 +0000 (15:43 +0800)
commit228c5413fb50ab43644689f4959c3ef1ef7571ea
treee3bda9ea6415e4507ba2721d15eba9ca8828a482
parent8bf8814ab1aba0243127bcada19414dddbfe9e51
hw/intc/loongarch_extioi: Add kernel irqchip save and restore function

Add save and store funtction if kvm_irqchip_in_kernel() return true,
it is to get and set ExtIOI irqchip state from KVM kernel.

Reviewed-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Message-ID: <20250606063033.2557365-3-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/intc/loongarch_extioi.c
hw/intc/loongarch_extioi_kvm.c
include/hw/intc/loongarch_extioi.h