From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shriram Rajagopalan Subject: [PATCH 4 of 4 V6] libxl: resume instead of unpause on xl save -c Date: Thu, 17 May 2012 12:46:01 -0700 Message-ID: <24c462a07e167e4ce35a.1337283961@athos.nss.cs.ubc.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: ian.jackson@eu.citrix.com, stefano.stabellini@citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Shriram Rajagopalan # Date 1337283425 25200 # Node ID 24c462a07e167e4ce35a22197dbef74853b08359 # Parent b633a458bf3a931ad610363a8ce55b2970f7da65 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 diff -r b633a458bf3a -r 24c462a07e16 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Thu May 17 12:37:02 2012 -0700 +++ b/tools/libxl/xl_cmdimpl.c Thu May 17 12:37:05 2012 -0700 @@ -2663,7 +2663,7 @@ close(fd); if (checkpoint) - libxl_domain_unpause(ctx, domid); + libxl_domain_resume(ctx, domid, 1); else libxl_domain_destroy(ctx, domid);