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: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Multiple IRQ's in HVM for Windows
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 27 Dec 2008 20:35:33 +1100
Cc:
Delivery-date: Sat, 27 Dec 2008 01:36:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C57BA669.20944%keir.fraser@xxxxxxxxxxxxx>
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>
References: <AEC6C66638C05B468B556EA548C1A77D015500ED@trantor> <C57BA669.20944%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclnCjPkeAYvm5WbTaqM+PmGGNFiHQAIdYQ3AAU6BeAAATbLsQAADYFAAADLT9kALf9OEAABLL7gAAAL4JA=
Thread-topic: [Xen-devel] Multiple IRQ's in HVM for Windows
> On 27/12/2008 09:19, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
wrote:
> 
> > I can think of the following pieces of the puzzle:
> > . A mechanism to assign an event channel to an IRQ - a new type of
> > parameter for HYPERVISOR_hvm_op?
> 
> That's part of the problem. What do you mean by 'IRQ' here? What's the
IRQ
> namespace that you're indexing into?
> 

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.

James

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