From: Ian Campbell Subject: Re: VM checkpoint image format Date: Mon, 6 Jan 2014 10:38:53 +0000 Message-ID: <1389004733.13274.35.camel@kazak.uk.xensource.com> References: <52B70563.6090907@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52B70563.6090907@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Prateek Sharma , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Sun, 2013-12-22 at 15:29 +0000, Andrew Cooper wrote: > On 21/12/2013 16:31, Prateek Sharma wrote: > > Hello all, > > Is the VM-save image format specified anywhere? (the file written > > to by xc_domain_save). I am looking for what fields are saved in what > > order. > > Or is the xc_domain_save function itself the specification? Can I > > change the order of fields saved (thus changing the on-disk image > > format) and expect no breakages? Ofcourse, I will need to change the > > xc_domain_restore function as well. > > > > Thanks! > > --Prateek > > There is no documentation that I am aware of, other than the code > itself, There is a big comment in tools/libxc/xg_save_restore.h which describes the migration protocol. The save format is basically just a single pass of that. Ian