From: Shriram Rajagopalan Date: Fri, 18 May 2012 10:00:43 +0000 (+0100) Subject: libxl: resume instead of unpause on xl save -c X-Git-Tag: 4.2.0-rc1~319 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bea0ff6e774d171bf6acb451f75dc194f4002782;p=xen.git libxl: resume instead of unpause on xl save -c The guest is "suspended" via libxl_domain_suspend when taking a snapshot. So call libxl_domain_resume instead of libxl_domain_unpause, when taking a checkpoint of the domain (using xl save -c). Signed-off-by: Shriram Rajagopalan Acked-by: Ian Campbell Committed-by: Ian Campbell --- diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 0e5b105680..e79916c2f1 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -2814,7 +2814,7 @@ static int save_domain(const char *p, const char *filename, int checkpoint, close(fd); if (checkpoint) - libxl_domain_unpause(ctx, domid); + libxl_domain_resume(ctx, domid, 1); else libxl_domain_destroy(ctx, domid);