diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-10-18 17:14:07 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-10-18 17:14:07 +0100 |
commit | 9bf9eada0dad47460fbecd632b944424a3255664 (patch) | |
tree | 4b872ab2f39740cdd256a8b0c2267b94fcacf944 /tools/libxc/xenctrl.h | |
parent | 2674a296982598b97ffdd90fa407e4cdd1df3e13 (diff) | |
download | xen-9bf9eada0dad47460fbecd632b944424a3255664.tar.gz xen-9bf9eada0dad47460fbecd632b944424a3255664.tar.bz2 xen-9bf9eada0dad47460fbecd632b944424a3255664.zip |
libxc: add xc_domain_memory_exchange_pages to wrap XENMEM_exchange
Generalised from exchange_page in xc_offline_page.c
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xenctrl.h')
-rw-r--r-- | tools/libxc/xenctrl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h index 89f9dca608..852bbcc8e2 100644 --- a/tools/libxc/xenctrl.h +++ b/tools/libxc/xenctrl.h @@ -829,6 +829,15 @@ int xc_domain_populate_physmap_exact(xc_interface *xch, #define xc_domain_memory_populate_physmap(x, d, nr, eo, mf, es) \ xc_domain_populate_physmap_exact(x, d, nr, eo, mf, es) +int xc_domain_memory_exchange_pages(xc_interface *xch, + int domid, + unsigned long nr_in_extents, + unsigned int in_order, + xen_pfn_t *in_extents, + unsigned long nr_out_extents, + unsigned int out_order, + xen_pfn_t *out_extents); + int xc_domain_set_pod_target(xc_interface *xch, uint32_t domid, uint64_t target_pages, |