]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_pch: Add kernel irqchip save and restore function
authorBibo Mao <maobibo@loongson.cn>
Fri, 6 Jun 2025 06:30:28 +0000 (14:30 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 19 Jun 2025 07:50:28 +0000 (15:50 +0800)
commit11a04c9f40ac479f68139f6801da314591e67ae1
treeea448ff553deab50115b22ea3cc395a0bb490d84
parentb758e28974614a15e70fbc983e28fe77852564ee
hw/intc/loongarch_pch: 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 PCH PCI irqchip state from KVM kernel.

Reviewed-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Message-ID: <20250606063033.2557365-9-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/intc/loongarch_pch_pic.c
hw/intc/loongarch_pic_kvm.c
include/hw/intc/loongarch_pch_pic.h
include/hw/intc/loongarch_pic_common.h