From: Senthilkumaran R Subject: APIC Doubt Date: Mon, 12 Mar 2012 23:01:13 +0530 Message-ID: <1331573473.9570.6.camel@hawkerlaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from smtp1.iitb.ac.in ([14.139.97.13]:49583 "EHLO smtp1.iitb.ac.in" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751787Ab2CLRkm (ORCPT ); Mon, 12 Mar 2012 13:40:42 -0400 Received: from ldns2.iitb.ac.in (ldns2.iitb.ac.in [10.200.12.2]) by smtp1.iitb.ac.in (Postfix) with SMTP id 1690BC01AB9F for ; Mon, 12 Mar 2012 23:00:31 +0530 (IST) Received: from [10.6.10.68] (unknown [10.6.10.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-auth.iitb.ac.in (Postfix) with ESMTP id 8444313900 for ; Mon, 12 Mar 2012 23:00:30 +0530 (IST) Sender: kvm-owner@vger.kernel.org List-ID: 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