mbox series

[v2,0/8] More Hyper-V infrastructure

Message ID 20200103160825.19377-1-liuwe@microsoft.com (mailing list archive)
Headers show
Series More Hyper-V infrastructure | expand

Message

Wei Liu Jan. 3, 2020, 4:08 p.m. UTC
This patch sereis implements several important functionalities to run
Xen on top of Hyper-V.

See individual patches for more details.

I can only test them lightly and look at disassembly output to check
correctness at this stage. At the very least Xen on Hyper-V boots up
okay, so it is not breaking anything.

Wei.


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: Michael Kelley <mikelley@microsoft.com>
Cc: Paul Durrant <paul@xen.org>

Wei Liu (8):
  x86: include xen/lib.h in guest/pvh-boot.h
  x86/hyperv: detect absolutely necessary MSRs
  x86: rename guest/hypercall.h to guest/xen-hypercall.h
  x86/hyperv: setup hypercall page
  x86/hyperv: provide Hyper-V hypercall functions
  x86/hyperv: provide percpu hypercall input page
  x86/hyperv: retrieve vp_index from Hyper-V
  x86/hyperv: setup VP assist page

 xen/arch/x86/guest/hyperv/Makefile            |   1 +
 xen/arch/x86/guest/hyperv/hypercall_page.S    |  21 ++++
 xen/arch/x86/guest/hyperv/hyperv.c            | 104 +++++++++++++++++-
 xen/include/asm-x86/guest.h                   |   2 +-
 xen/include/asm-x86/guest/hyperv-hypercall.h  |  95 ++++++++++++++++
 xen/include/asm-x86/guest/hyperv.h            |  10 ++
 xen/include/asm-x86/guest/pvh-boot.h          |   2 +
 .../guest/{hypercall.h => xen-hypercall.h}    |   2 +-
 8 files changed, 232 insertions(+), 5 deletions(-)
 create mode 100644 xen/arch/x86/guest/hyperv/hypercall_page.S
 create mode 100644 xen/include/asm-x86/guest/hyperv-hypercall.h
 rename xen/include/asm-x86/guest/{hypercall.h => xen-hypercall.h} (99%)