From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxIju-00045r-DR for qemu-devel@nongnu.org; Tue, 14 Feb 2012 08:48:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxIjm-0003iZ-V6 for qemu-devel@nongnu.org; Tue, 14 Feb 2012 08:48:14 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:51275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxIjm-0003iO-M2 for qemu-devel@nongnu.org; Tue, 14 Feb 2012 08:48:06 -0500 From: Paul Brook Date: Tue, 14 Feb 2012 13:47:59 +0000 References: <201202141249.09301.paul@codesourcery.com> <20120214133727.GA23647@redhat.com> In-Reply-To: <20120214133727.GA23647@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202141348.00060.paul@codesourcery.com> Subject: Re: [Qemu-devel] [PATCH RFC] seabios: add OSHP method stub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Kevin Wolf , kvm@vger.kernel.org, seabios@seabios.org, qemu-devel@nongnu.org, Isaku Yamahata , Kevin O'Connor , Avi Kivity > > > Now an OS can have a standard driver and use it > > > to activate hotplug functionality. This is OS hotplug (OSHP). > > > > So presumably this will work on targets that don't have ACPI? > > Assuming a competent guest OS of course. Have you tested this? > > This being the qemu side of things? I run Linux > and verified that it calls OSHP and afterwards, > runs the native driver and handles hotplug/unplug > without invoking ACPI at all. I mean using your shiny new hotplug PCI-PCI bridge on arm/ppc/mips targets (i.e anything other than x86 PC). From your description it sounds like it *should* work. > It seems that at least the SHPC driver in linux > doesn't work if you don't have an acpi table > with the OSHP method - not many people run with acpi=off > nowdays, so it's probably just a bug. > I'll check how hard it is to fix this. Targets other than x86 don't have ACPI to start with. Paul