x86: introduce CONFIG_GUEST and move code
authorWei Liu <liuwe@microsoft.com>
Thu, 19 Sep 2019 12:22:05 +0000 (13:22 +0100)
committerWei Liu <wl@xen.org>
Wed, 4 Dec 2019 10:31:25 +0000 (10:31 +0000)
commitca363f186d6f2d43ba1b9e335284feb9d6d9fd79
treecb4d6706095a11ff3239e9883fb9e3d8fbb10bbe
parentd7c3e6c9e9dabbba0b8dc0ddb0fc38811ae0915f
x86: introduce CONFIG_GUEST and move code

Xen is able to run as a guest on Xen. We plan to make it able to run
on Hyper-V as well.

Introduce CONFIG_GUEST which is set to true if either running on Xen
or Hyper-V is desired. Restructure code hierarchy for new code to
come.

No functional change intended.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Kconfig
xen/arch/x86/Makefile
xen/arch/x86/guest/Makefile
xen/arch/x86/guest/hypercall_page.S [deleted file]
xen/arch/x86/guest/pvh-boot.c [deleted file]
xen/arch/x86/guest/xen.c [deleted file]
xen/arch/x86/guest/xen/Makefile [new file with mode: 0644]
xen/arch/x86/guest/xen/hypercall_page.S [new file with mode: 0644]
xen/arch/x86/guest/xen/pvh-boot.c [new file with mode: 0644]
xen/arch/x86/guest/xen/xen.c [new file with mode: 0644]