WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Yu, Ke" <ke.yu@xxxxxxxxx>
Subject: Re: [Xen-devel] Injecting physical IRQ (pirq) into hvm guest
From: "sanjay kushwaha" <sanjay.kushwaha@xxxxxxxxx>
Date: Mon, 10 Jul 2006 22:33:41 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 10 Jul 2006 19:34:05 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DhZsVqaj3RjWiHk3YcaCC+mpIioKymS0/nMwefjYKS50S3b1WEMzNffWnIAFZTK8vTCgoW/QAwryb3MoMOfpOez7je7ncbK70kldstzQxZuYrPAfQPuhq1vz5gCZKkbfCzi32YleTePnHhDTY0uDdFSXZTLyV1fWcNaIhWJS8dk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <117E3EB5059E4E48ADFF2822933287A4F92BD4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <117E3EB5059E4E48ADFF2822933287A4F92BD4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
No. even calling it twice didn't work.

THanks,
Sanjay

On 7/9/06, Yu, Ke <ke.yu@xxxxxxxxx> wrote:

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?

Thanks,
Sanjay

--
----------------------
PhD Student, Georgia Tech
http://www.cc.gatech.edu/~ksanjay/



--
----------------------
PhD Student, Georgia Tech
http://www.cc.gatech.edu/~ksanjay/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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