x86: introduce CONFIG_HYPERV and detection code
authorWei Liu <liuwe@microsoft.com>
Mon, 30 Sep 2019 13:34:50 +0000 (14:34 +0100)
committerWei Liu <wl@xen.org>
Wed, 4 Dec 2019 10:38:22 +0000 (10:38 +0000)
commit05de315b00bf2951617b8ef28811b1f1f2dd5742
treedc7b0d8a0acc17d163345f1671f480e6c9d841f2
parentd815e9272c4658ca85a86185719fee0973e30f69
x86: introduce CONFIG_HYPERV and detection code

We use the same code structure as we did for Xen.

As starters, detect Hyper-V in probe routine. More complex
functionalities will be added later.

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