From: Stefano Stabellini Subject: Re: [PATCH 1/5] change the name of the qemu save file at restore time Date: Thu, 20 Jan 2011 15:44:09 +0000 Message-ID: References: <19768.20725.82343.716610@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <19768.20725.82343.716610@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 20 Jan 2011, Ian Jackson wrote: > Stefano Stabellini writes ("[Xen-devel] [PATCH 1/5] change the name of the qemu save file at restore time"): > > Change the name of the qemu save file to qemu-resume at restore time so > > that it doesn't collide with the name of the next save file. > ... > > - sprintf(path, "/var/lib/xen/qemu-save.%u", dom); > > + sprintf(path, "/var/lib/xen/qemu-resume.%u", dom); > ... > > - "/var/lib/xen/qemu-save.%d", domid); > > + RESTOREFILE".%d", domid); > ... > > +#define SAVEFILE "/var/lib/xen/qemu-save" > > +#define RESTOREFILE "/var/lib/xen/qemu-resume" > > Uh, why is the latter not in libxc so that libxc can use it too ? It should probably be in xenguest.h, close to xc_domain_restore.