x86: introduce hypervisor framework
authorWei Liu <liuwe@microsoft.com>
Mon, 30 Sep 2019 10:06:39 +0000 (11:06 +0100)
committerWei Liu <wl@xen.org>
Wed, 4 Dec 2019 10:38:17 +0000 (10:38 +0000)
commit49bd351aee8ff8da3a3473187cac68df06a7d675
treecf91e0ab0a7902cb2dd6b5ea8e39a7a3f6a1e898
parent1c178ffb29aedd00d2fd2f83bccd27caadbc1195
x86: introduce hypervisor framework

We will soon implement Hyper-V support for Xen. Add a framework for
that.

This requires moving some of the hypervisor_* functions from xen.h to
hypervisor.h.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/guest/Makefile
xen/arch/x86/guest/hypervisor.c [new file with mode: 0644]
xen/include/asm-x86/guest.h
xen/include/asm-x86/guest/hypervisor.h [new file with mode: 0644]
xen/include/asm-x86/guest/xen.h