From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHKmA-00032r-2G for qemu-devel@nongnu.org; Thu, 18 Jun 2009 12:47:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHKm4-0002s0-VA for qemu-devel@nongnu.org; Thu, 18 Jun 2009 12:47:45 -0400 Received: from [199.232.76.173] (port=40595 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHKm4-0002qy-Mr for qemu-devel@nongnu.org; Thu, 18 Jun 2009 12:47:40 -0400 Received: from mx2.redhat.com ([66.187.237.31]:42771) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHKm4-0001vZ-1a for qemu-devel@nongnu.org; Thu, 18 Jun 2009 12:47:40 -0400 Date: Thu, 18 Jun 2009 19:44:44 +0300 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] [PATCHv5 08/13] qemu: add support for resizing regions Message-ID: <20090618164444.GB19553@redhat.com> References: <20090618131438.GI19092@redhat.com> <200906181735.10458.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906181735.10458.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Carsten Otte , kvm@vger.kernel.org, Glauber Costa , Rusty Russell , qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, Blue Swirl , Christian Borntraeger , Avi Kivity On Thu, Jun 18, 2009 at 05:32:11PM +0100, Paul Brook wrote: > On Thursday 18 June 2009, Michael S. Tsirkin wrote: > > Make it possible to resize PCI regions. This will be used by virtio > > with MSI-X, where the region size depends on whether MSI-X is enabled, > > and can change across load/save. > > I thought we'd agreed we shouldn't be doing this. > i.e. if the user tries to load the wrong device, just bail out. > > Paul We need a way to generally prevent load from changing registers in a way that can not be done by a guest. I haven't implemented this feature yet though. -- MST