From: "Ky Srinivasan" Subject: Re: PV drivers for HVM guest Date: Fri, 27 Apr 2007 14:40:50 -0600 Message-ID: <46321759.E57C.0030.0@novell.com> References: <4632028C.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4632028C.E57C.0030.0@novell.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, Ky Srinivasan List-Id: xen-devel@lists.xenproject.org After some more hacking, if I were to use the irqline information = available in the pci config space for this device, both in establishing = the handler for this device (request_irq()) as well as in registering the = callback irq (set_callback_irq()) things seem to work. Regards, K. Y >>> On Fri, Apr 27, 2007 at 3:12 PM, in message <4632028C.E57C.0030.0@nove= ll.com>, "Ky Srinivasan" wrote:=20 > In platform_pci.c we register the IRQ that the hypervisor should use = to=20 > notify the guest in response to event channel notifications. In cases = where=20 > the mapping between irq and vectors are not one to one, I am not sure = how=20 > this can work. For instance, on a RHEL 4 installation (with acpi turned = on) =20 > I am looking at, the irq assigned to the platform- pci device is 185!=20 > Consequently the set_callback_irq() fails since the number passed = down=20 > exceeds the number of pins being emulated. Any insight will be greatly=20= > appreciated. >=20 > Regards, >=20 > K. Y >=20 >=20 >=20 > _______________________________________________ > Xen- devel mailing list > Xen- devel@lists.xensource.com > http://lists.xensource.com/xen- devel