Skip to content

Add rudimentary Hyper-V guest support

Alexander Graf kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 34 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Add definition for IGNNE MSRarch/x86/include/asm/msr-index.h+1 -00 replies
2/6MMU: don't bail on PAT bits in PTEarch/x86/kvm/mmu.c+1 -14 replies
3/6Emulator: Inject #PF when page was not foundarch/x86/kvm/x86.c+5 -25 replies
4/6Implement Hyper-V MSRsarch/x86/kvm/svm.c+5 -05 replies
5/6Nested SVM: Implement INVLPGAarch/x86/kvm/svm.c+13 -15 replies
6/6Nested SVM: Improve interrupt injectionarch/x86/kvm/svm.c+25 -153 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Add rudimentary Hyper-V guest support

Now that we have nested SVM in place, let's make use of it and virtualize something non-kvm.
The first interesting target that came to my mind here was Hyper-V.

This patchset makes Windows Server 2008 boot with Hyper-V, which runs the "dom0" in virtualized mode already. I haven't been able to run a second VM within for now though, but maybe I just wasn't patient enough ;-).

Alexander Graf (6):
Add definition for IGNNE MSR
MMU: don't bail on PAT bits in PTE
Emulator: Inject #PF when page was not found
Implement Hyper-V MSRs
Nested SVM: Implement INVLPGA
Nested SVM: Improve interrupt injection

 arch/x86/include/asm/msr-index.h |    1 +
 arch/x86/kvm/mmu.c               |    2 +-
 arch/x86/kvm/svm.c               |   59 +++++++++++++++++++++++++++----------
 arch/x86/kvm/x86.c               |    7 +++-
 4 files changed, 50 insertions(+), 19 deletions(-)