From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEQ9R-0004dZ-Mf for qemu-devel@nongnu.org; Wed, 10 Jun 2009 11:55:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEQ9N-0004ci-1i for qemu-devel@nongnu.org; Wed, 10 Jun 2009 11:55:45 -0400 Received: from [199.232.76.173] (port=51667 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEQ9M-0004cd-Nz for qemu-devel@nongnu.org; Wed, 10 Jun 2009 11:55:40 -0400 Received: from mx2.redhat.com ([66.187.237.31]:38531) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEQ9M-0002dT-7U for qemu-devel@nongnu.org; Wed, 10 Jun 2009 11:55:40 -0400 Date: Wed, 10 Jun 2009 18:52:38 +0300 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] [PATCH 05/11] qemu: MSI-X support functions Message-ID: <20090610155238.GH28601@redhat.com> References: <200906101539.12367.paul@codesourcery.com> <20090610144739.GA28601@redhat.com> <200906101615.12956.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906101615.12956.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, Rusty Russell , qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, Blue Swirl , Christian Borntraeger , Avi Kivity On Wed, Jun 10, 2009 at 04:15:04PM +0100, Paul Brook wrote: > > > That's seems just plain wrong to me. > > > Loading a VM shouldn't not > > > do anything that can't happen during normal operation. > > > > At least wrt pci, we are very far from this state: load just overwrites > > all registers, readonly or not, which can never happen during normal > > operation. > > IMO that code is wrong. We should only be loading things that the guest can > change (directly or indirectly). > > Paul Making it work this way will mean that minor changes to a device can break backwards compatibility with old images, often in surprising ways. What are the advantages? -- MST