From: Tom Rotenberg Subject: Possible bug with pass-through hot-plug? Date: Wed, 7 Oct 2009 11:00:10 +0200 Message-ID: <8686c3cd0910070200r7f3c59d9o8964ea432372a6b2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: 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 List-Id: xen-devel@lists.xenproject.org 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? Tom