tools/libs: move xc_core* from libxenctrl to libxenguest
authorJuergen Gross <jgross@suse.com>
Fri, 4 Jun 2021 06:02:13 +0000 (08:02 +0200)
committerJulien Grall <jgrall@amazon.com>
Fri, 4 Jun 2021 17:56:46 +0000 (18:56 +0100)
commit455790573d3bbad6d5a1bb7e9d28b6dd71075693
tree2f1216eb04f8221222cc9789f448da5bb4a7755b
parentbf1fc18901dfea05a69f661493b934c0db7d3503
tools/libs: move xc_core* from libxenctrl to libxenguest

The functionality in xc_core* should be part of libxenguest instead
of libxenctrl. Users are already either in libxenguest, or in xl.
There is one single exception: xc_core_arch_auto_translated_physmap()
is being used by xc_domain_memory_mapping(), which is used by qemu.
So leave the xc_core_arch_auto_translated_physmap() functionality in
libxenctrl.

This will make it easier to merge common functionality of xc_core*
and xg_sr_save*.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wl@xen.org>
20 files changed:
tools/libs/ctrl/Makefile
tools/libs/ctrl/xc_core.c [deleted file]
tools/libs/ctrl/xc_core.h [deleted file]
tools/libs/ctrl/xc_core_arm.c [deleted file]
tools/libs/ctrl/xc_core_arm.h [deleted file]
tools/libs/ctrl/xc_core_x86.c [deleted file]
tools/libs/ctrl/xc_core_x86.h [deleted file]
tools/libs/ctrl/xc_domain.c
tools/libs/ctrl/xc_private.h
tools/libs/guest/Makefile
tools/libs/guest/xg_core.c [new file with mode: 0644]
tools/libs/guest/xg_core.h [new file with mode: 0644]
tools/libs/guest/xg_core_arm.c [new file with mode: 0644]
tools/libs/guest/xg_core_arm.h [new file with mode: 0644]
tools/libs/guest/xg_core_x86.c [new file with mode: 0644]
tools/libs/guest/xg_core_x86.h [new file with mode: 0644]
tools/libs/guest/xg_dom_boot.c
tools/libs/guest/xg_domain.c
tools/libs/guest/xg_offline_page.c
tools/libs/guest/xg_resume.c