[v5,0/8] Port Xen to Hyper-V
mbox series

Message ID 20191130115737.15752-1-liuwe@microsoft.com
Headers show
Series
  • Port Xen to Hyper-V
Related show

Message

Wei Liu Nov. 30, 2019, 11:57 a.m. UTC
Please see individual patches for changes

Cc: Jan Beulich <jbeulich@suse.com>                                                                                                                                                            
Cc: Andrew Cooper <andrew.cooper3@citrix.com>                                                                                                                                                  
Cc: Wei Liu <wl@xen.org>                                                                                                                                                                       
Cc: Roger Pau Monné <roger.pau@citrix.com>                                                                                                                                                     
Cc: Paul Durrant <paul@xen.org>      

Wei Liu (8):
  x86: introduce CONFIG_GUEST and move code
  x86: add missing headers in hypercall.h
  x86: drop hypervisor_cpuid_base
  x86: introduce hypervisor framework
  x86: rename hypervisor_{alloc,free}_unused_page
  x86: switch xen guest implementation to use hypervisor framework
  x86: be more verbose when running on a hypervisor
  x86: introduce CONFIG_HYPERV and detection code

 xen/arch/x86/Kconfig                          | 15 +++-
 xen/arch/x86/Makefile                         |  2 +-
 xen/arch/x86/guest/Makefile                   |  6 +-
 xen/arch/x86/guest/hyperv/Makefile            |  1 +
 xen/arch/x86/guest/hyperv/hyperv.c            | 54 +++++++++++++
 xen/arch/x86/guest/hypervisor.c               | 78 +++++++++++++++++++
 xen/arch/x86/guest/xen/Makefile               |  4 +
 xen/arch/x86/guest/{ => xen}/hypercall_page.S |  0
 xen/arch/x86/guest/{ => xen}/pvh-boot.c       |  2 +-
 xen/arch/x86/guest/{ => xen}/xen.c            | 60 +++++++-------
 xen/arch/x86/pv/shim.c                        |  6 +-
 xen/arch/x86/setup.c                          |  7 +-
 xen/include/asm-x86/guest.h                   |  2 +
 xen/include/asm-x86/guest/hypercall.h         |  4 +
 xen/include/asm-x86/guest/hyperv.h            | 43 ++++++++++
 xen/include/asm-x86/guest/hypervisor.h        | 62 +++++++++++++++
 xen/include/asm-x86/guest/xen.h               | 23 ++----
 17 files changed, 312 insertions(+), 57 deletions(-)
 create mode 100644 xen/arch/x86/guest/hyperv/Makefile
 create mode 100644 xen/arch/x86/guest/hyperv/hyperv.c
 create mode 100644 xen/arch/x86/guest/hypervisor.c
 create mode 100644 xen/arch/x86/guest/xen/Makefile
 rename xen/arch/x86/guest/{ => xen}/hypercall_page.S (100%)
 rename xen/arch/x86/guest/{ => xen}/pvh-boot.c (99%)
 rename xen/arch/x86/guest/{ => xen}/xen.c (94%)
 create mode 100644 xen/include/asm-x86/guest/hyperv.h
 create mode 100644 xen/include/asm-x86/guest/hypervisor.h