Skip to content

Add rudimentary Hyper-V guest support v3

Alexander Graf kvm 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

v2 changes from the cover letter

- remove reserved PAT check patch (Avi will do this)
- remove #PF inject on emulated_read
- take comments from v1 into account (listed individually)

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4Add definition for IGNNE MSRarch/x86/include/asm/msr-index.h+1 -00 replies
2/4Implement Hyper-V MSRsarch/x86/kvm/svm.c+5 -00 replies
3/4Nested SVM: Implement INVLPGAarch/x86/kvm/svm.c+14 -10 replies
4/4Nested SVM: Improve interrupt injectionarch/x86/kvm/svm.c+24 -150 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/4] Add rudimentary Hyper-V guest support v3

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. It hangs somewhere in IDE code when booted, so I haven't been able to run a second VM within for now yet.

Please keep in mind that Hyper-V won't work unless you apply the userspace patches too and the PAT bit patch

---

v2 changes:
- remove reserved PAT check patch (Avi will do this)
- remove #PF inject on emulated_read
- take comments from v1 into account (listed individually)

v3 changes:
- forward-port to current git

Alexander Graf (4):
Add definition for IGNNE MSR
Implement Hyper-V MSRs v2
Nested SVM: Implement INVLPGA v2
Nested SVM: Improve interrupt injection v2

 arch/x86/include/asm/msr-index.h |    1 +
 arch/x86/kvm/svm.c               |   59 +++++++++++++++++++++++++++----------
 2 files changed, 44 insertions(+), 16 deletions(-)