From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSuHA-0001KL-Qw for qemu-devel@nongnu.org; Fri, 11 May 2012 14:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSuH8-0000YG-BG for qemu-devel@nongnu.org; Fri, 11 May 2012 14:09:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSuH8-0000Y3-2Y for qemu-devel@nongnu.org; Fri, 11 May 2012 14:09:10 -0400 Date: Fri, 11 May 2012 20:04:12 +0300 From: Gleb Natapov Message-ID: <20120511170412.GE15230@redhat.com> References: <20111214010645.GA2044@morn.localdomain> <20120509072452.14872.92530.stgit@t> <4FABF832.1060708@gmail.com> <20120510174257.GD14647@redhat.com> <4FABFEE9.9060501@gmail.com> <20120511101415.GD15230@redhat.com> <4FAD33C2.6050109@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FAD33C2.6050109@gmail.com> Subject: Re: [Qemu-devel] [SeaBIOS] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jiang Liu Cc: "Michael S. Tsirkin" , linux-pci@vger.kernel.org, seabios@seabios.org, qemu-devel@nongnu.org, jbarnes@virtuousgeek.org, rjw@sisk.pl, alex.williamson@redhat.com, Amos Kong On Fri, May 11, 2012 at 11:44:02PM +0800, Jiang Liu wrote: > On 05/11/2012 06:14 PM, Gleb Natapov wrote: > >> I'm not familiar with qemu:( > >> On native OS, admin could trigger PCI device hotplug operations through > >> /sys/bus/pci/slot/xx/power. Not sure whether that's needed for guest OS too. > >> > > Why is it needed on physical HW? May be it is needed in a VM for the > > same reason? > As Amos has mentioned, it's used power on/off a PCI device instead of physical > hotplug. Not sure whether it's needed in guest OS. Probably for assigned devices. -- Gleb.