Hello! > I was talking about what > is done without this "gsi direct mapping" feature. In that case the low > GSI numbers are used by irqchip routing entries. So kvm_irqchip_get_virq > returns a gsi beyond the irqchip routed gsi's. But aren't these low numbers just routed by the qemu too? I don't see qemu getting any predefined routing from the kernel. kvm_init_irq_routing() allocates used_gsi_bitmap as all zeros, and kvm_irqchip_get_virq() just starts to give those free numbers, starting from zero. I believe during machine init we allocate virq's and route them to irqchip explicitly, don't we ? Sorry for being perhaps ignorant, i haven't studied x86 qemu code too much. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html