mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
This commit is contained in:
1 parent
1edbc90d99
commit
335c738c44
5 files changed
+22
-15
No files matched your search
@@ -360,7 +360,7 @@ static void release_suspend_evtchn(checkpoint_state *s)
|
||||
{
|
||||
/* TODO: teach xen to clean up if port is unbound */
|
||||
if (s->xce >= 0 && s->suspend_evtchn >= 0) {
|
||||
xc_suspend_evtchn_release(s->xce, s->suspend_evtchn);
|
||||
xc_suspend_evtchn_release(s->xce, s->domid, s->suspend_evtchn);
|
||||
s->suspend_evtchn = -1;
|
||||
}
|
||||
}
|
||||
|
||||