From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZMoE-0005AL-9O for qemu-devel@nongnu.org; Wed, 10 Jan 2018 15:17:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZMoD-0004BH-Gb for qemu-devel@nongnu.org; Wed, 10 Jan 2018 15:17:14 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:33150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZMoD-00049E-8n for qemu-devel@nongnu.org; Wed, 10 Jan 2018 15:17:13 -0500 Received: by mail-wm0-x22b.google.com with SMTP id 123so6876884wme.0 for ; Wed, 10 Jan 2018 12:17:13 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180110201519.GF2451@work-vm> References: <20180109153538.GC1197@stefanha-x1.localdomain> <20180109195517.GD2708@work-vm> <20180110201519.GF2451@work-vm> From: Stefan Hajnoczi Date: Wed, 10 Jan 2018 20:17:11 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] Some question about savem/qcow2 incremental snapshot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: "He, Junyan" , "qemu-devel@nongnu.org" , Juan Quintela , John Snow On Wed, Jan 10, 2018 at 8:15 PM, Dr. David Alan Gilbert wrote: > * Stefan Hajnoczi (stefanha@gmail.com) wrote: >> On Tue, Jan 9, 2018 at 7:55 PM, Dr. David Alan Gilbert >> wrote: >> >> Certain guest operations like rebooting or zeroing memory will defeat >> >> the incremental guest RAM snapshot feature. It's worth thinking about >> >> these cases to make sure this feature would be worth it in real use >> >> cases. >> > >> > But those probably wouldn't upset an NVDimm? >> >> If the guest dirties all RAM then the incremental snapshot feature >> degrades to a full snapshot. I'm asking if there are common >> operations where that happens. >> >> I seem to remember Windows guests zero all pages on cold boot. Maybe >> that's not the case anymore. >> >> Worth checking before embarking on this feature because it could be a >> waste of effort if it turns out real-world guests dirty all memory in >> common cases. > > Right, but I'm hoping that there's some magic somewhere where an NVDimm doesn't > get zero'd because of a cold boot since that would seem to make it > volatile. This feature isn't specific to NVDIMM though. It would be equally useful for regular RAM. Stefan