|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH 1/5] change the name of the qemu save file	at res
 
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.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |