aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xenguest.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-03-18 11:49:26 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-03-18 11:49:26 +0000
commitcce99fb1320455ab2f67bee05b823f37b33c1afd (patch)
treedee0bcf566e0f40fb204d66e3d867590b7964a7d /tools/libxc/xenguest.h
parent760f973171ab21a4e6049e528e506568255b30bc (diff)
downloadxen-cce99fb1320455ab2f67bee05b823f37b33c1afd.tar.gz
xen-cce99fb1320455ab2f67bee05b823f37b33c1afd.tar.bz2
xen-cce99fb1320455ab2f67bee05b823f37b33c1afd.zip
Move the suspend event channel function to libxc, it will use the
/var/lib/xen/suspend_evtchn_lock.d to protect the access. Signed-off-by: Jiang Yunhong <yunhong.jiang@intel.com>
Diffstat (limited to 'tools/libxc/xenguest.h')
-rw-r--r--tools/libxc/xenguest.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/libxc/xenguest.h b/tools/libxc/xenguest.h
index 7261e391ac..d64fc4554b 100644
--- a/tools/libxc/xenguest.h
+++ b/tools/libxc/xenguest.h
@@ -142,4 +142,10 @@ int xc_hvm_build_mem(int xc_handle,
const char *image_buffer,
unsigned long image_size);
+int xc_suspend_evtchn_release(int xce, int suspend_evtchn);
+
+int xc_suspend_evtchn_init(int xc, int xce, int domid, int port);
+
+int xc_await_suspend(int xce, int suspend_evtchn);
+
#endif /* XENGUEST_H */