From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh6y3-0007Xd-Kd for qemu-devel@nongnu.org; Tue, 19 Jun 2012 18:32:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sh6y2-0008Sz-0j for qemu-devel@nongnu.org; Tue, 19 Jun 2012 18:32:11 -0400 Received: from gate.crashing.org ([63.228.1.57]:60086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh6y1-0008Sh-Ni for qemu-devel@nongnu.org; Tue, 19 Jun 2012 18:32:09 -0400 Message-ID: <1340145125.28143.43.camel@pasglop> From: Benjamin Herrenschmidt Date: Wed, 20 Jun 2012 08:32:05 +1000 In-Reply-To: References: <1339239192.24838.84.camel@pasglop> <1339241642.24838.92.camel@pasglop> <5DD2FF44-F27E-49C4-AF2C-2EF95341DF6E@suse.de> <87lijjjqk5.fsf@elfo.mitica> <1340137841.28143.34.camel@pasglop> <1340140421.28143.39.camel@pasglop> <99D704E3-384D-42C6-997C-379D850AC347@suse.de> <1340142715.28143.41.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Subject: Re: [Qemu-devel] vm state save/restore question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "qemu-devel@nongnu.org Developers" , "quintela@redhat.com" On Wed, 2012-06-20 at 00:27 +0200, Alexander Graf wrote: > > > I need to understand better how do that vs. qemu save/restore > though. IE. That means > > we can't just save the hash as a bulk and reload it, but we'd have > to save bits of > > it at a time or something like that no ? Or do we save it once, then > save the diff > > at the end ? > > The best way would be to throw it into the same bucket as RAM. At the > end of the day, it really is no different. It'd then be synced during > every iteration of the migration. Sure, I understand the principle on paper :-) Not the details on how to do that in the code :-) I'll dig see if I can figure it out from the RAM code later this week. I'm not actually implementing that stuff just yet, just sizing it. Cheers, Ben.