[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/5] change the name of the qemu save file at restore time



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 ?

> -            args = args + ([ "-loadvm", "/var/lib/xen/qemu-save.%d" %
> +            args = args + ([ "-loadvm", "/var/lib/xen/qemu-resume.%d" %

At least this has some kind of excuse.  It's probably too painful to
do anything else but keep the 2nd hardcoded value (and anyway this is
in xend).

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.