Received: from eggs.gnu.org ([2001:4830:134:3::10]:47236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsFtK-0006yT-2E for qemu-devel@nongnu.org; Thu, 06 Oct 2016 17:07:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsFtE-0000L2-U7 for qemu-devel@nongnu.org; Thu, 06 Oct 2016 17:07:44 -0400 Received: from mail-io0-x243.google.com ([2607:f8b0:4001:c06::243]:33199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsFtE-0000Ke-IO for qemu-devel@nongnu.org; Thu, 06 Oct 2016 17:07:40 -0400 Received: by mail-io0-x243.google.com with SMTP id q192so1573100iod.0 for ; Thu, 06 Oct 2016 14:07:40 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Thu, 6 Oct 2016 17:07:37 -0400 Content-Transfer-Encoding: 7bit Message-Id: <74031782-933D-4229-A88F-9ADF0C9DDB05@gmail.com> References: <42B37FE3-87E1-42CA-A089-B090F37FF7D5@gmail.com> Subject: Re: [Qemu-devel] Adding Save States menu items List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Eric Blake , qemu-devel qemu-devel On Oct 6, 2016, at 4:47 PM, Peter Maydell wrote: > On 6 October 2016 at 12:59, Eric Blake wrote: >> Libvirt also learned that the qemu 'migrate-to-disk' format (used by >> 'savevm' or 'migrate') is NOT self-descriptive - in order to fully and >> safely revert to an earlier state, you HAVE to store the command line >> (or a way to regenerate the command line) that was associated with the >> qemu whose state you saved, along with tracking all hotplugs. Since a >> mere 'savevm' REQUIRES external information to safely be restored, you >> would have to figure out a way to store this additional information >> alongside whatever save files you plan on creating (and please don't >> change the qcow2 file format to become a dumping grounds for this >> additional information). > > Good point. I think this is a fairly strong argument for > keeping the "user friendly" interface to snapshots in the > VM management layer, not QEMU itself. Another great feature dies... just kidding. Thank you everyone for giving me your feedback.