From: Simon Horman Subject: Re: Possible bug with pass-through hot-plug? Date: Wed, 7 Oct 2009 20:38:43 +1100 Message-ID: <20091007093840.GB18775@verge.net.au> References: <8686c3cd0910070200r7f3c59d9o8964ea432372a6b2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <8686c3cd0910070200r7f3c59d9o8964ea432372a6b2@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tom Rotenberg Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Oct 07, 2009 at 11:00:10AM +0200, Tom Rotenberg wrote: > Hi, > > I'm testing the pass-through code, and trying to hot-plug & hot-remove > a PCI device which is in PT, and i think there is a bug in the > hot-plug code. > If i put the pass-through device on a "low" slot number, such as: > 00:02.0 - then the hot-plug & hot-remove works, but if i use a "high" > slot number, such as: 00:1b.0, the hot-plug & hot-remove doesn't work. > > >From looking at the qemu logs, it looks like the gpe event is "stuck" > and isn't finishing. I suspect, that it's because the gpe eventrelated > procedure in the DSDT, is level triggered (_L03), and thus, if the OS > doesn't handle it fast enough, it keeps getting the interrupt, and is > in kind of "gpe storm" (that's why a "low" slot number, is working, > because it has less lines of the _L03 function in the DSDT to > evaluate). > > Does anyone knows something about it? knows how to fix it? Hi Tom, Silly question, but do you have an up to date version of hvmbios?