From 3e446a35ee82c738367e8f90e3bc9166687043a8 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 23 Dec 2010 15:25:57 +0000 Subject: libxc: convert evtchn interfaces to use an opaque handle type This makes the interface consistent with the changes made to the main interface in 21483:779c0ef9682c. Also fix some references to "struct xc_interface" which should have been simply "xc_interface" in tools/xenpaging, and update QEMU_TAG to pull in the corresponding qemu change. Signed-off-by: Ian Campbell Signed-off-by: Ian Jackson --- tools/libxc/xc_suspend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/libxc/xc_suspend.c') diff --git a/tools/libxc/xc_suspend.c b/tools/libxc/xc_suspend.c index 52e8a33707..1ace411860 100644 --- a/tools/libxc/xc_suspend.c +++ b/tools/libxc/xc_suspend.c @@ -75,7 +75,7 @@ static int unlock_suspend_event(xc_interface *xch, int domid) return -EPERM; } -int xc_await_suspend(xc_interface *xch, int xce, int suspend_evtchn) +int xc_await_suspend(xc_interface *xch, xc_evtchn *xce, int suspend_evtchn) { int rc; @@ -94,7 +94,7 @@ int xc_await_suspend(xc_interface *xch, int xce, int suspend_evtchn) return 0; } -int xc_suspend_evtchn_release(xc_interface *xch, int xce, int domid, int suspend_evtchn) +int xc_suspend_evtchn_release(xc_interface *xch, xc_evtchn *xce, int domid, int suspend_evtchn) { if (suspend_evtchn >= 0) xc_evtchn_unbind(xce, suspend_evtchn); @@ -102,7 +102,7 @@ int xc_suspend_evtchn_release(xc_interface *xch, int xce, int domid, int suspend return unlock_suspend_event(xch, domid); } -int xc_suspend_evtchn_init(xc_interface *xch, int xce, int domid, int port) +int xc_suspend_evtchn_init(xc_interface *xch, xc_evtchn *xce, int domid, int port) { int rc, suspend_evtchn = -1; -- cgit v1.2.3