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] Multiple IRQ's in HVM for Windows

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Multiple IRQ's in HVM for Windows
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sat, 27 Dec 2008 09:57:35 +0000
Cc:
Delivery-date: Sat, 27 Dec 2008 01:58:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D015500EE@trantor>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclnCjPkeAYvm5WbTaqM+PmGGNFiHQAIdYQ3AAU6BeAAATbLsQAADYFAAADLT9kALf9OEAABLL7gAAAL4JAAAN6snA==
Thread-topic: [Xen-devel] Multiple IRQ's in HVM for Windows
User-agent: Microsoft-Entourage/12.15.0.081119
On 27/12/2008 09:35, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> I'm not sure if I understand the question. Under my drivers I just do:
> 
> hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, irq_number);
> 
> where irq_number is what Windows assigns the platform PCI device, and is
> normally 28 when the HAL is APIC, otherwise it is 5, assuming no qemu
> network adapters or passed through PCI devices.
> 
> I think there is another way of setting the IRQ using the PCI address,
> but that doesn't appear to be required here.

So where will irq_number come from when every event channel needs one?

 -- Keir



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