Skip to contentSkip to conversation

APIC Doubt

DISCUSSION Senthilkumaran R 1 participant 1 message Mar 12, 2012 KVM

lore
Share & tools
lore
#0 lore raw

Hi,

Can anyone explain me the routing from IOAPIC to LAPIC and how the LAPIC/vcpu is choosen for the given IRQ.

I found two different structures for IRQ routing and I am little confused with them.
1. kvm_kernel_irq_routing_entry
2. kvm_irq_routing_entry

And also it will really helpful if someone can tell me how IRQ is mapped to specific interrupt vector. I believe it will be programmed by the guest (i.e. guest can change the mapping) but through which API it is changing and where exactly it is stored.

Thanks,
Senthilkumaran R