tools/libs/ctrl: rename and export do_memory_op as xc_memory_op
authorTamas K Lengyel <tamas.lengyel@intel.com>
Wed, 1 Jun 2022 07:18:30 +0000 (09:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 1 Jun 2022 07:18:30 +0000 (09:18 +0200)
commit108d145df8d5401c7fafc3a7056d2ecce1288794
tree6735388fc13d955d83a0163ced553286474d40a2
parent09a6a71097e3e7d28eaa0f55e8f2c4b879c299f5
tools/libs/ctrl: rename and export do_memory_op as xc_memory_op

Make the do_memory_op function accessible to tools linking with libxc.
Similar functions are already available for both domctl and sysctl. As part
of this patch we also change the input 'cmd' to be unsigned int to accurately
reflect what the hypervisor expects.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@intel.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/include/xenctrl.h
tools/libs/ctrl/xc_domain.c
tools/libs/ctrl/xc_mem_access.c
tools/libs/ctrl/xc_mem_paging.c
tools/libs/ctrl/xc_memshr.c
tools/libs/ctrl/xc_private.c
tools/libs/ctrl/xc_private.h
tools/libs/guest/xg_dom_boot.c
tools/libs/guest/xg_sr_common_x86_pv.c