https://bugzilla.kernel.org/show_bug.cgi?id=218177 Bug ID: 218177 Summary: qemu got sigabrt when using vpp in guest and dpdk for qemu Product: Virtualization Version: unspecified Hardware: Intel OS: Linux Status: NEW Severity: normal Priority: P3 Component: kvm Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx Reporter: zhang.lei.fly@xxxxxxxxx Regression: No I am testing vpp in qemu guest. and the guest is using dpdk interface provided by dpdk. when i set the interface up in vpp, the qemu is crashed after doing some deep debug, this is happend in the `setup_routing_entry` function ``` static int setup_routing_entry(struct kvm *kvm, struct kvm_irq_routing_table *rt, struct kvm_kernel_irq_routing_entry *e, const struct kvm_irq_routing_entry *ue) { struct kvm_kernel_irq_routing_entry *ei; int r; u32 gsi = array_index_nospec(ue->gsi, KVM_MAX_IRQ_ROUTES); /* * Do not allow GSI to be mapped to the same irqchip more than once. * Allow only one to one mapping between GSI and non-irqchip routing. */ hlist_for_each_entry(ei, &rt->map[gsi], link) if (ei->type != KVM_IRQ_ROUTING_IRQCHIP || ue->type != KVM_IRQ_ROUTING_IRQCHIP || ue->u.irqchip.irqchip == ei->irqchip.irqchip) return -EINVAL; ``` the code run into `return -EINVAL` and the each field value is: ei->type: 2, KVM_IRQ_ROUTING_IRQCHIP: 1, ue->type: 1, ue->u.irqchip.irqchip: 2 , ei->irqchip.irqchip: -18870272 i am not familiar with kernel, but i guess there maybe some bug here? Here is other informations qemu-kvm version: qemu-kvm-7.2.0-14.el9 kernel: 4.18.0-477.27.1.el8.x86_64 ovs: 2.16.3 dpdk: 20.11.3 the qemu xml is attached -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.