# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273007975 -3600
# Node ID befb6175ebb8a8408eb2d3af089e69fefa545098
# Parent efa1b905d89331f29068d3204c512045c5d2da88
xen-hptool: Fix after interface change to xc_suspend_evtchn_release().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
tools/misc/xen-hptool.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r efa1b905d893 -r befb6175ebb8 tools/misc/xen-hptool.c
--- a/tools/misc/xen-hptool.c Tue May 04 13:59:55 2010 +0100
+++ b/tools/misc/xen-hptool.c Tue May 04 22:19:35 2010 +0100
@@ -133,7 +133,7 @@ static int suspend_guest(int xc_handle,
failed:
if (suspend_evtchn != -1)
- xc_suspend_evtchn_release(xce, suspend_evtchn);
+ xc_suspend_evtchn_release(xce, domid, suspend_evtchn);
return -1;
}
@@ -228,7 +228,7 @@ static int hp_mem_offline_func(int argc,
mfn, domid);
}
xc_domain_resume(xc_fd, domid, 1);
- xc_suspend_evtchn_release(xce, suspend_evtchn);
+ xc_suspend_evtchn_release(xce, domid, suspend_evtchn);
xc_evtchn_close(xce);
}
break;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|