Emulating Hyper-V in 2022
summary
KVM now implements enlightened MSR bitmap nesting for both Intel and AMD SVM and supports the Hyper-V tweak that avoids Auto‑EOI so modern Windows actually runs without the interrupt problem. KVM adds XMM register support for hypercall input but no Windows hypercalls use it yet, and a synthetic debugger over hypercalls is available. Work in progress adds a per‑request queue and direct TLB flush to avoid costly exits. Virtual Secure Mode remains unimplemented and is the largest missing piece.
AI-written summary · about
chapters (12)
- 0:00About myself
- 0:42Why emulating some other hypervisor?
- 1:30How do we know what proprietary OS need?
- 2:56(Some) documentation
- 3:25New feature: hv-avic
- 5:35New feature: hv-xmm-input
- 7:18New feature: hv-enforce-cpuid
- 10:47WIP feature: updated Enlightened VMCS
- 13:26TODO feature: hv-stimer-unhalted
- 16:28TODO feature: free page reporting
- 17:15Elephant in the room: VSM
- 18:56KVM-on-KVM: use Hyper-V features?
related talks
23mHyper-V's Virtual Secure Mode in KVM project update
25m"Enlightening" KVM: Hyper-V emulation
31mKVM Nested Virtualization: Workings and Usecases
30mNested Virtualization (X86) Part I
30mNested Virtualization (X86) Part II
21mRISC V Hypervisor Support
03h 01mHands-on Introduction to Virtualization
27mDay 2 Keynote Sessions
