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] PCI pass-through / MSI question: Is 30(hex) the lower li

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] PCI pass-through / MSI question: Is 30(hex) the lower limit for pirq?
From: Dante Cinco <dantecinco@xxxxxxxxx>
Date: Fri, 28 May 2010 13:51:01 -0700
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Fri, 28 May 2010 13:52:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=URaY3fbnONiRRT4j+NkfG8dqHpEq/QiJnTl3wiguazU=; b=a4V2I+NYuJ5O96N75NOxDRhhUWUDLyyltoh7W4S9bXlCprGUl4yQPko2SHBqNsstZL BvL0KPfE7irX39ht1aLAFwzM94P6f9tA06ZxFvAkttpLqZJO+KaXoSkXWwDt9SoD9TS5 SB/vyHxaAXVJq3TNEgqfCTRcQ75IXWujxyhWM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=p18klmGUTLQL+46bNhAd3+S0lfIVBRHYYhJGLJ3CMcjybv5EoWxtW4O663D2laAtPn mBRlN1OxNnP78L2YVfN1GjNV5TkXzOd70LuwIKNeNbtao0Ea1MlWlgozSHT2SmVIfaP1 aodx6O+IK9yZOKVhBRI3uAN3yZ2PLwszMPLRc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100528085003.GZ17817@xxxxxxxxxxx>
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: <AANLkTikEUhzPi-VcT1xT6ADhj86f0vDldcP9nZy6ue2C@xxxxxxxxxxxxxx> <4BFF8D4002000078000046F0@xxxxxxxxxxxxxxxxxx> <20100528085003.GZ17817@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4
Pasi, Jan,

Thank for your help. Adding the extra_guest_irqs Xen boot option resolved the issue I was having with the 8G QLogic card in the Windows domU. Each of the 2 QLogic devices requires 32 IRQs when MSI-X is enabled so I set the value to 80 (16 extra).

Dante

On 5/28/2010 1:50 AM, Pasi Kärkkäinen wrote:
On Fri, May 28, 2010 at 08:30:40AM +0100, Jan Beulich wrote:
On 28.05.10 at 01:29, Dante Cinco<dantecinco@xxxxxxxxx>  wrote:
I'm trying to bring up a Windows domU with PCI pass-through and it looks
like Xen is running out of pirqs (see log below). I'm using Xen 4.0.0 and
dom0 2.6.32.12 pv-ops and pci-stub to hide the PCIe device.

It looks like the first available pirq is 4e(hex) and the last available is
30(hex) and after that, Xen returns an msix error. What's the consequence of
running out of pirqs?
Did you try the extra_guest_irqs= Xen command line option to
increase the number of PIRQs (defaulting to 32) for the guest?

I added this xen.gz option to:
http://wiki.xensource.com/xenwiki/XenHypervisorBootOptions

-- Pasi



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

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