Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlJOF-00014l-PV for qemu-devel@nongnu.org; Wed, 09 Sep 2009 05:22:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlJOA-00013d-T0 for qemu-devel@nongnu.org; Wed, 09 Sep 2009 05:22:58 -0400 Received: from [199.232.76.173] (port=42515 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlJOA-00013X-Jp for qemu-devel@nongnu.org; Wed, 09 Sep 2009 05:22:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40223) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlJOA-0007Yu-3S for qemu-devel@nongnu.org; Wed, 09 Sep 2009 05:22:54 -0400 From: Juan Quintela In-Reply-To: <20090909085450.GA18061@redhat.com> (Michael S. Tsirkin's message of "Wed, 9 Sep 2009 11:54:51 +0300") References: <20090909085450.GA18061@redhat.com> Date: Wed, 09 Sep 2009 11:22:50 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: The State of the SaveVM format List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org "Michael S. Tsirkin" wrote: > On Wed, Sep 09, 2009 at 10:47:27AM +0200, Juan Quintela wrote: >> More problems: Going from newer versions to old versions >> - I think that everybody thinks that this is a nice to have, but that it >> will took a lot to make it work, and there are more urgent things to >> do. > > It's actually easy if you make whatever is new in the new version an > optional feature. Then to save in an old format, qemu is started with > the feature disabled. That only works if invariants are maintained. That is not true in general. And furthermore, you are deciding that if you find a bug, and fix needs a new field -> just live with the bug. If you can recreate the state without the new field, then _why_ did you added it in the 1st place? Later, Juan.