Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mm6hk-0003ef-P0 for qemu-devel@nongnu.org; Fri, 11 Sep 2009 10:02:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mm6hg-0003VT-46 for qemu-devel@nongnu.org; Fri, 11 Sep 2009 10:02:24 -0400 Received: from [199.232.76.173] (port=54020 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm6hf-0003V3-PR for qemu-devel@nongnu.org; Fri, 11 Sep 2009 10:02:19 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:35229) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mm6hf-0007QZ-81 for qemu-devel@nongnu.org; Fri, 11 Sep 2009 10:02:19 -0400 Date: Fri, 11 Sep 2009 15:05:51 +0100 From: Stefano Stabellini Subject: Re: [Qemu-devel] Re: [PATCH 03/26] Remove SaveVM v2 support In-Reply-To: <4AA94403.5020500@codemonkey.ws> Message-ID: References: <9e1839178f7a85d264eee20a07d4aed6e6ddb7b1.1252543871.git.quintela@redhat.com> <4AA94403.5020500@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Juan Quintela , "qemu-devel@nongnu.org" , Stefano Stabellini On Thu, 10 Sep 2009, Anthony Liguori wrote: > Practically speaking, we only have the ability to support back to > 0.10.0. We simply didn't have the necessary infrastructure in place to > support anything older than that. > v3 of the savevm protocol came before 0.10.0 so there's no need for us > to every support v2 or v1 of the protocol. > > There are some major changes happen to the savevm infrastructure for > 0.12.0. I'd suggest that instead of not removing v2, we remove it, > finish up the changes, then you can look at re-adding support for it. > > Some of the features of v2 may be difficult to carry forward (like the > savevm section sizes). > > And FWIW, I don't necessarily think we'll see a v4 for 0.12.0. I'm not > convinced it's needed and/or useful. > I gave a better look at the code and the situation is not as bad as I thought: the important code for us is not much the single function qemu_loadvm_state_v2 that can easily be replaced and\or rewritten but all the per device state loading functions in C, that fortunately are shared between v2 and v3. I am still unhappy with removing support for v2 and I am inclined to consider it a regression but as long as you keep those functions in I am reasonably happy.