aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-10-22 15:14:51 +0100
committerIan Campbell <ian.campbell@citrix.com>2010-10-22 15:14:51 +0100
commit4fd0fc305b2dfad938accb766ac24a083eae135b (patch)
tree680f2337529c6931b0520aa8c30470388cffbd47 /tools/misc
parentf36c8d0c957ba7f971d992f104b9984547e8429b (diff)
downloadxen-4fd0fc305b2dfad938accb766ac24a083eae135b.tar.gz
xen-4fd0fc305b2dfad938accb766ac24a083eae135b.tar.bz2
xen-4fd0fc305b2dfad938accb766ac24a083eae135b.zip
libxc: finalise transition to hypercall buffers.
Rename xc_set_xen_guest_handle to set_xen_guest_handle[0] and remove now unused functions: - xc_memalign - lock_pages - unlock_pages - hcall_buf_prep - hcall_buf_release [0] sed -i -e 's/xc_set_xen_guest_handle/set_xen_guest_handle/g' \ tools/libxc/*.[ch] \ tools/python/xen/lowlevel/xc/xc.c \ tools/python/xen/lowlevel/acm/acm.c \ tools/libxc/ia64/xc_ia64_stubs.c \ tools/security/secpol_tool.c \ tools/misc/xenpm.c Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/misc')
-rw-r--r--tools/misc/xenpm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/misc/xenpm.c b/tools/misc/xenpm.c
index a4f7a95999..9953c802d1 100644
--- a/tools/misc/xenpm.c
+++ b/tools/misc/xenpm.c
@@ -395,9 +395,9 @@ static void signal_int_handler(int signo)
}
}
- xc_set_xen_guest_handle(info.cpu_to_core, cpu_to_core);
- xc_set_xen_guest_handle(info.cpu_to_socket, cpu_to_socket);
- xc_set_xen_guest_handle(info.cpu_to_node, cpu_to_node);
+ set_xen_guest_handle(info.cpu_to_core, cpu_to_core);
+ set_xen_guest_handle(info.cpu_to_socket, cpu_to_socket);
+ set_xen_guest_handle(info.cpu_to_node, cpu_to_node);
info.max_cpu_index = MAX_NR_CPU - 1;
ret = xc_topologyinfo(xc_handle, &info);
@@ -964,9 +964,9 @@ void cpu_topology_func(int argc, char *argv[])
goto out;
}
- xc_set_xen_guest_handle(info.cpu_to_core, cpu_to_core);
- xc_set_xen_guest_handle(info.cpu_to_socket, cpu_to_socket);
- xc_set_xen_guest_handle(info.cpu_to_node, cpu_to_node);
+ set_xen_guest_handle(info.cpu_to_core, cpu_to_core);
+ set_xen_guest_handle(info.cpu_to_socket, cpu_to_socket);
+ set_xen_guest_handle(info.cpu_to_node, cpu_to_node);
info.max_cpu_index = MAX_NR_CPU-1;
if ( xc_topologyinfo(xc_handle, &info) )