This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] Injecting physical IRQ (pirq) into hvm guest

To: "sanjay kushwaha" <sanjay.kushwaha@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Injecting physical IRQ (pirq) into hvm guest
From: "Yu, Ke" <ke.yu@xxxxxxxxx>
Date: Mon, 10 Jul 2006 10:00:38 +0800
Delivery-date: Sun, 09 Jul 2006 19:04:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acajo34lMlaqcuEST96RxdM0CYO9agAH1miQ
Thread-topic: [Xen-devel] Injecting physical IRQ (pirq) into hvm guest
To inject a irq into HVM guest, should call pic_set_irq twice like this:
pic_set_irq(pic, irq, 0);
pic_set_irq(pic, irq, 1);

Calling it one time won't work. Is it the reason for your case? 

- Ke
Intel Opensource Technology Center

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of sanjay kushwaha
Sent: 2006?7?10? 6:03
To: xen-devel
Subject: [Xen-devel] Injecting physical IRQ (pirq) into hvm guest

Hi Folks,
I want to inject an interrupt into the hvm guest based on a physical IRQ (pirq) 
I receive in Xen hypervisor. I tried calling 
pic_set_irq() function in ../xen/arch/x86/i8259.c but that didn't work.

Could someone please help me with this? 


PhD Student, Georgia Tech

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>