From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyiKj-0002Ou-FB for qemu-devel@nongnu.org; Tue, 17 Nov 2015 10:38:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyiKf-0004CP-EQ for qemu-devel@nongnu.org; Tue, 17 Nov 2015 10:38:13 -0500 Received: from mailout1.zih.tu-dresden.de ([141.30.67.72]:57367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyiKf-0004Bo-7R for qemu-devel@nongnu.org; Tue, 17 Nov 2015 10:38:09 -0500 References: <20151116164618.GE2417@work-vm> From: Bohdan Trach Message-ID: <564B49DF.7010009@mailbox.tu-dresden.de> Date: Tue, 17 Nov 2015 16:38:07 +0100 MIME-Version: 1.0 In-Reply-To: <20151116164618.GE2417@work-vm> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC 1/3] memory: Add dump-pc-mem command for checkpointing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: amit.shah@redhat.com, thomas.knauth@googlemail.com, qemu-devel@nongnu.org, quintela@redhat.com Hi David, thank you for the feedback! On 11/16/2015 05:46 PM, Dr. David Alan Gilbert wrote: > * Bohdan Trach (bv.trach@gmail.com) wrote: >> From: Bohdan Trach >> >> dump-pc-mem command is added for checkpointing guest memory to >> file. Only system RAM region is saved. This checkpoint is later used to >> recover unchanged pages. > > Why not just use the 'dump_guest_memory' commands; they dump it in interesting > existing formats; they have headers in the files as well rather than just > a raw blob of data. > If you wanted to restrict to only certain RAM blocks, then I'd suggest adding > a feature to that existing command. > You might also find that you want other RAMBlocks as well, for example where > RAM is added using hot plu, those are separate RAM blocks. We will try to rework these patches to use existing formats. Current format was used because it is extremely simple to work with. The restriction of saving only 'pc.ram' RAMBlock is just the consequence of this design choice. > -- > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK > -- With best regards, Bohdan Trach