aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_memshr.c
diff options
context:
space:
mode:
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>2012-04-24 19:05:08 +0100
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>2012-04-24 19:05:08 +0100
commitba2c1567122d84521e91a6dae44eeabd494a8b0e (patch)
treed901c41291726f98d7920da8c8edca4133f59ccf /tools/libxc/xc_memshr.c
parent8052d596674941501ebf0990ddf0225e88acb63f (diff)
downloadxen-ba2c1567122d84521e91a6dae44eeabd494a8b0e.tar.gz
xen-ba2c1567122d84521e91a6dae44eeabd494a8b0e.tar.bz2
xen-ba2c1567122d84521e91a6dae44eeabd494a8b0e.zip
x86/mem_sharing: Clean up debugging calls
- Remove debug_mfn from the user-space interface - Clean up errno codes Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Acked-by: Tim Deegan <tim@xen.org> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_memshr.c')
-rw-r--r--tools/libxc/xc_memshr.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/libxc/xc_memshr.c b/tools/libxc/xc_memshr.c
index ae60571dee..d6a9539267 100644
--- a/tools/libxc/xc_memshr.c
+++ b/tools/libxc/xc_memshr.c
@@ -208,20 +208,6 @@ int xc_memshr_debug_gfn(xc_interface *xch,
return xc_memshr_memop(xch, domid, &mso);
}
-int xc_memshr_debug_mfn(xc_interface *xch,
- domid_t domid,
- unsigned long mfn)
-{
- xen_mem_sharing_op_t mso;
-
- memset(&mso, 0, sizeof(mso));
-
- mso.op = XENMEM_sharing_op_debug_mfn;
- mso.u.debug.u.mfn = mfn;
-
- return xc_memshr_memop(xch, domid, &mso);
-}
-
int xc_memshr_debug_gref(xc_interface *xch,
domid_t domid,
grant_ref_t gref)