aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xcutils
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-04 12:12:28 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-04 12:12:28 +0100
commit335c738c440e8a283e10660d38bf82532b439cf8 (patch)
treefe8b39f6bacc47192af94962f9e3a7a2b5d1670b /tools/xcutils
parent1edbc90d9991dcf2196114bf1d7ac2a75b996f3a (diff)
downloadxen-335c738c440e8a283e10660d38bf82532b439cf8.tar.gz
xen-335c738c440e8a283e10660d38bf82532b439cf8.tar.bz2
xen-335c738c440e8a283e10660d38bf82532b439cf8.zip
Change the global suspend event channel lock file to a per-domain lock file
This allows multiple guests to be migrated or protected by Remus simultaneously. Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca> Acked-by: Brendan Cully <brendan@cs.ubc.ca>
Diffstat (limited to 'tools/xcutils')
-rw-r--r--tools/xcutils/xc_save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xcutils/xc_save.c b/tools/xcutils/xc_save.c
index 55e4b1d4ef..02570bda45 100644
--- a/tools/xcutils/xc_save.c
+++ b/tools/xcutils/xc_save.c
@@ -210,7 +210,7 @@ main(int argc, char **argv)
&switch_qemu_logdirty);
if (si.suspend_evtchn > 0)
- xc_suspend_evtchn_release(si.xce, si.suspend_evtchn);
+ xc_suspend_evtchn_release(si.xce, si.domid, si.suspend_evtchn);
if (si.xce > 0)
xc_evtchn_close(si.xce);