From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MG8gV-0005hv-EB for qemu-devel@nongnu.org; Mon, 15 Jun 2009 05:40:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MG8gP-0005ZX-Sa for qemu-devel@nongnu.org; Mon, 15 Jun 2009 05:40:58 -0400 Received: from [199.232.76.173] (port=34532 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MG8gP-0005Z6-LL for qemu-devel@nongnu.org; Mon, 15 Jun 2009 05:40:53 -0400 Received: from mx2.redhat.com ([66.187.237.31]:57794) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MG8gO-0000ZF-S4 for qemu-devel@nongnu.org; Mon, 15 Jun 2009 05:40:53 -0400 Message-ID: <4A3616A8.5020801@redhat.com> Date: Mon, 15 Jun 2009 12:38:48 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: Configuration vs. compat hints [was Re: [Qemu-devel] [PATCHv3 03/13] qemu: add routines to manage PCI capabilities] References: <20090610150129.GC28601@redhat.com> <200906101624.30659.paul@codesourcery.com> <20090610174301.GC7416@shareable.org> <20090610182227.GN28601@redhat.com> <20090610192702.GH7416@shareable.org> <1244796209.16425.20.camel@blaa> <4A326C7E.3020309@codemonkey.ws> <1244822007.30522.68.camel@blaa> <20090614093411.GA6959@redhat.com> <4A34C4C9.8030105@redhat.com> <20090614094754.GC6959@redhat.com> In-Reply-To: <20090614094754.GC6959@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Mark McLoughlin , kvm@vger.kernel.org, Carsten Otte , Glauber Costa , Rusty Russell , qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, Blue Swirl , Christian Borntraeger , Paul Brook On 06/14/2009 12:47 PM, Michael S. Tsirkin wrote: > Michael S. Tsirkin wrote: >>> If we want to remove a device from under a running guest, you need >>> hotplug. So we can't just remove several lines from the config and hope >>> that it'll work simply because the PCI address is stable. >>> >>> >> Why not? >> > > E.g. configuration cycles address a specific bus/slot. > You need cooperation from guest if you want to move > a device. > By "remove several lines from the config" I understood the guest needs to be restarted. Of course if you don't restart the guest you need true hotplug. -- error compiling committee.c: too many arguments to function