[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: "sanjay kushwaha" <sanjay.kushwaha@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.