From: Shriram Rajagopalan <rshriram@cs.ubc.ca>
To: xen-devel@lists.xen.org
Cc: ian.jackson@eu.citrix.com, stefano.stabellini@citrix.com,
ian.campbell@citrix.com
Subject: [PATCH 4 of 4 V6] libxl: resume instead of unpause on xl save -c
Date: Thu, 17 May 2012 12:46:01 -0700 [thread overview]
Message-ID: <24c462a07e167e4ce35a.1337283961@athos.nss.cs.ubc.ca> (raw)
In-Reply-To: <patchbomb.1337283957@athos.nss.cs.ubc.ca>
# HG changeset patch
# User Shriram Rajagopalan <rshriram@cs.ubc.ca>
# 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 <rshriram@cs.ubc.ca>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
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);
next prev parent reply other threads:[~2012-05-17 19:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-17 19:45 [PATCH 0 of 4 V6] libxl: refactor suspend/resume code Shriram Rajagopalan
2012-05-17 19:45 ` [PATCH 1 of 4 V6] libxl: QMP stop/resume & refactor QEMU suspend/resume/save Shriram Rajagopalan
2012-05-17 19:45 ` [PATCH 2 of 4 V6] libxl: support suspend_cancel in domain_resume Shriram Rajagopalan
2012-05-17 19:46 ` [PATCH 3 of 4 V6] libxl: refactor migrate_domain and generalize migrate_receive Shriram Rajagopalan
2012-05-17 19:46 ` Shriram Rajagopalan [this message]
2012-05-18 10:07 ` [PATCH 0 of 4 V6] libxl: refactor suspend/resume code Ian Campbell
2012-05-18 14:57 ` Shriram Rajagopalan
2012-05-18 15:04 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24c462a07e167e4ce35a.1337283961@athos.nss.cs.ubc.ca \
--to=rshriram@cs.ubc.ca \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=stefano.stabellini@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).