From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOuGl-0000Gs-Dy for qemu-devel@nongnu.org; Thu, 09 Jul 2009 10:06:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOuGg-0000A3-CV for qemu-devel@nongnu.org; Thu, 09 Jul 2009 10:06:38 -0400 Received: from [199.232.76.173] (port=50855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOuGg-00009s-7g for qemu-devel@nongnu.org; Thu, 09 Jul 2009 10:06:34 -0400 Received: from mx2.redhat.com ([66.187.237.31]:50833) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOuGf-0004EU-M8 for qemu-devel@nongnu.org; Thu, 09 Jul 2009 10:06:33 -0400 Message-ID: <4A55F95A.8080409@redhat.com> Date: Thu, 09 Jul 2009 16:06:18 +0200 From: Paolo Bonzini MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 3/3] add live dumping capability References: <1247140059-5034-1-git-send-email-pbonzini@redhat.com> <1247140059-5034-4-git-send-email-pbonzini@redhat.com> <4A55F57B.3030306@codemonkey.ws> In-Reply-To: <4A55F57B.3030306@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org >> With the previous cleanups in place, it is easy to trigger >> restart when the state machine goes from the COMPLETING to the >> COMPLETED state. Besides this, the patch is just simple >> scaffolding for the monitor command and to migrate to a file >> rather than a pipe (which is a bit simpler because we do not >> need non-blocking I/O). > > Then this isn't live migration. Sorry, I cannot understand this remark. > This is functionally equivalent to migrate "exec:dd of=filename", no? Yes, except for restarting at the end. > If you were truly dumping an actual core file and things remained > "live", that would be compelling, but it would be a lot easier to just > implement that as an external process. If you just used a table that > mapped section names and versions to length, you only really need to > understand the format of ram and cpu save sections. I already have the code to read ram and cpu save sections. I don't need the "core file" to be ELF; I just need the live state to be dumped with as small downtime as possible, and the live migration support provides that. Paolo