From: Lukas Hejtmanek Subject: Re: PCI device export Date: Fri, 29 Jun 2007 19:43:11 +0200 Message-ID: <20070629174311.GB2083@ics.muni.cz> References: <20070628145108.GU3867@ics.muni.cz> <200706291300.47200.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <200706291300.47200.mark.williamson@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark Williamson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Jun 29, 2007 at 01:00:46PM +0100, Mark Williamson wrote: > That sounds right, yes. I think there's a permissive mode for the back= end=20 > where it lets things through, and there's a means of listing devices th= at=20 > require more permissive behaviour on a per-device basis. Yes, I use permissive mode for the device. However, I noticed that even i= n permissive mode, not all values are allowed. Forcing the pcibackend to al= low direct writes into the device it solves the problem (partly). Using the force, the device is able to recovery from the device reset but= it does not receive IRQ. I found out that it may be caused by wrong reading the IRQ from the devic= e instead of using quirk and reading it from dev->irq structure. Should suc= h quirk help? I will test it next week as I have some huge problems with the DomU - the kernel crashes too much, I guess I corrupted the root with XFS file syste= m. > Have you checked if error messages are appearing in dmesg in either the= domU=20 > or the dom0? Yeah, nothing special there. > > I've reported some troubles with InfiniBand cards in Xen but nobody c= ares. > > Nor the developers of the IB drivers nor people in the xen-dev list. = :( >=20 > I care! IB on Xen should be really useful. OK, great! > There was a project (which I assume is still ongoing...?) to support=20 > virtualisation of IB devices in Xen, so that you can give several (PV=20 > initially) domains direct access to an IB device. This would leverage = the IB=20 > device's safe user accessibility feature to make this passthrough safe = for=20 > untrusted domains whilst eliminating dom0 from the IO path. Yes, I know there is an reborn effort for IB support in DomU via Novell a= nd OpenFabrics. I did not test it yes because they have no support for Xen 3= .1 and 2.6.18 kernel now. --=20 Luk=E1=B9 Hejtm=E1nek