Re: [PATCH v5 0/5] Add support running nested Microsoft Hypervisor

From: Jinank Jain
Date: Thu Nov 24 2022 - 01:01:49 EST


Please ignore the v5 patch series I posted the wrong set of patches.

Regards,

Jinank

On 11/24/2022 11:23 AM, Jinank Jain wrote:
This patch series plans to add support for running nested Microsoft
Hypervisor. In case of nested Microsoft Hypervisor there are few
privileged hypercalls which need to go L0 Hypervisor instead of L1
Hypervisor. This patches series basically identifies such hypercalls and
replace them with nested hypercalls.

Jinank Jain (5):
x86/hyperv: Add support for detecting nested hypervisor
Drivers: hv: Setup synic registers in case of nested root partition
x86/hyperv: Add an interface to do nested hypercalls
Drivers: hv: Enable vmbus driver for nested root partition
x86/hyperv: Change interrupt vector for nested root partition

[v4]
- Fix ARM64 compilation

[v5]
- Fix comments from Michael Kelly

arch/arm64/hyperv/mshyperv.c | 6 +++
arch/x86/include/asm/hyperv-tlfs.h | 17 ++++++-
arch/x86/include/asm/idtentry.h | 2 +
arch/x86/include/asm/irq_vectors.h | 6 +++
arch/x86/include/asm/mshyperv.h | 68 ++++++++++++++++------------
arch/x86/kernel/cpu/mshyperv.c | 71 ++++++++++++++++++++++++++++++
arch/x86/kernel/idt.c | 9 ++++
drivers/hv/hv.c | 18 +++++---
drivers/hv/hv_common.c | 7 ++-
drivers/hv/vmbus_drv.c | 5 ++-
include/asm-generic/hyperv-tlfs.h | 1 +
include/asm-generic/mshyperv.h | 1 +
12 files changed, 173 insertions(+), 38 deletions(-)