From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCwJt-0007LR-J6 for qemu-devel@nongnu.org; Tue, 24 Nov 2009 09:24:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCwJp-0007KG-18 for qemu-devel@nongnu.org; Tue, 24 Nov 2009 09:24:41 -0500 Received: from [199.232.76.173] (port=54892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCwJo-0007KB-S1 for qemu-devel@nongnu.org; Tue, 24 Nov 2009 09:24:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53789) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCwJo-0003zs-G1 for qemu-devel@nongnu.org; Tue, 24 Nov 2009 09:24:36 -0500 Date: Tue, 24 Nov 2009 16:21:52 +0200 From: "Michael S. Tsirkin" Message-ID: <20091124142152.GN2405@redhat.com> References: <4B0952C9.9010803@redhat.com> <200911241335.35334.paul@codesourcery.com> <20091124134910.GH2405@redhat.com> <200911241359.49321.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200911241359.49321.paul@codesourcery.com> Subject: [Qemu-devel] Re: Live migration protocol, device features, ABIs and other beasts List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Paolo Bonzini , qemu-devel@nongnu.org On Tue, Nov 24, 2009 at 01:59:49PM +0000, Paul Brook wrote: > > > Reading in old state files is a whole lot easier (to write > > > maintain, and stay sane) than producing state that is bug-compatible with > > > previous versions. > > > > It seems to me that old->new and new->old migrations are > > of about the same level of difficulty. > > Supporting one of these but not the other is of course > > easier than supporting both, but I don't see where > > "a whole lot" comes from. > > Migrating from old version requires the restore routine be version aware. > Migrating to old versions requires the the save routine also be version aware, > which I'd expect to be about double the amount of work. > > Paul Heh, it seems the question is whether double is a lot or not :) The advantage of both save and restore being version aware is that you can do light compatibility testing without having an old qemu lying around. This is not enough, but better than nothing. -- MST