在2025年5月9日周五 上午11:12,Bibo Mao写道: > Option kernel_irqchip=split is not supported on LoongArch virt machine, > report error and exit if detect split kernel_irqchip option. > > Signed-off-by: Bibo Mao <maob...@loongson.cn> > --- > target/loongarch/kvm/kvm.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/target/loongarch/kvm/kvm.c b/target/loongarch/kvm/kvm.c > index 1bda570482..a8e5724b21 100644 > --- a/target/loongarch/kvm/kvm.c > +++ b/target/loongarch/kvm/kvm.c > @@ -1249,7 +1249,12 @@ int kvm_arch_init(MachineState *ms, KVMState *s) > > int kvm_arch_irqchip_create(KVMState *s) > { > - return 0; > + if (kvm_kernel_irqchip_split()) { > + error_report("-machine kernel_irqchip=split is not supported on > ARM."); ^ ARM :) Thanks -- - Jiaxun
- [PATCH 05/15] hw/intc/loongarch_ipi: Add irqchip-in-kernel rea... Bibo Mao
- [PATCH 01/15] hw/intc/loongarch_extioi: Add irqchip-in-kernel ... Bibo Mao
- [PATCH 02/15] hw/intc/loongarch_extioi: Add irqchip-in-kernel ... Bibo Mao
- [PATCH 03/15] hw/intc/loongarch_extioi: Add irqchip-in-kernel ... Bibo Mao
- [PATCH 07/15] hw/intc/loongarch_ipi: Add irqchip-in-kernel sav... Bibo Mao
- [PATCH 08/15] hw/intc/loongarch_pch_msi: Add irqchip-in-kernel... Bibo Mao
- [PATCH 09/15] hw/intc/loongarch_pch_msi: Inject MSI interrupt ... Bibo Mao
- [PATCH 11/15] hw/intc/loongarch_pch: Add irqchip-in-kernel rea... Bibo Mao
- [PATCH 14/15] target/loongarch: Report error with split k... Bibo Mao
- Re: [PATCH 14/15] target/loongarch: Report error with... Jiaxun Yang
- [PATCH 12/15] hw/intc/loongarch_pch: Add irqchip-in-kerne... Bibo Mao
- [PATCH 15/15] hw/loongarch/virt: Add kvm_irqchip_in_kerne... Bibo Mao
- [PATCH 13/15] hw/intc/loongarch_pch: Inject irq line inte... Bibo Mao
- [PATCH 10/15] hw/intc/loongarch_pch: Add irqchip-in-kernel pro... Bibo Mao
- [PATCH 06/15] hw/intc/loongson_ipi: Add load and save interfac... Bibo Mao