diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-06-10 10:47:28 +0200 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-06-10 10:47:28 +0200 |
commit | 3568b93ad4b6301b8e66668c8e9c8427adcfa2a7 (patch) | |
tree | d0507a04c9face28ba058341feeb303c33f6b3e0 /tools/xenpaging/xenpaging.h | |
parent | 64816ee56f60b190d4916a80616e28bbc60d19ad (diff) | |
download | xen-3568b93ad4b6301b8e66668c8e9c8427adcfa2a7.tar.gz xen-3568b93ad4b6301b8e66668c8e9c8427adcfa2a7.tar.bz2 xen-3568b93ad4b6301b8e66668c8e9c8427adcfa2a7.zip |
xenpaging: implement stopping of pager by sending SIGTERM/SIGINT
Write all paged-out pages back into the guest if the pager is
interrupted by ctrl-c or if it receives SIGTERM.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/xenpaging/xenpaging.h')
-rw-r--r-- | tools/xenpaging/xenpaging.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xenpaging/xenpaging.h b/tools/xenpaging/xenpaging.h index 4cf50b0f85..36f4290248 100644 --- a/tools/xenpaging/xenpaging.h +++ b/tools/xenpaging/xenpaging.h @@ -53,6 +53,9 @@ typedef struct xenpaging_victim { } xenpaging_victim_t; +extern void create_page_in_thread(domid_t domain_id, xc_interface *xch); +extern void page_in_trigger(unsigned long gfn); + #endif // __XEN_PAGING_H__ |