Add support for some HYPER-V PV features
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 6 repliesApplied
- v24 patches 16 repliesSuperseded
- v13 patches 9 repliesSuperseded
Changes in v3 from the cover letter
fix msrs_to_save[] handling
fix access to guests memory
use kvm_read_cr0_bits() instead of direct access to cr0
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Add HYPER-V header file.arch/ | +187 | 0 replies | |
| 2/4 | Implement bare minimum of HYPER-V MSRs.arch/ arch/ arch/ +2 more | +227 | 0 replies | |
| 3/4 | Add HYPER-V apic access MSRs.arch/ arch/ arch/ +2 more | +80 | 0 replies | |
| 4/4 | Implement NotifyLongSpinWait HYPER-V hypercall.arch/ include/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCHv3 0/4] Add support for some HYPER-V PV features
HYPER-V provides PV capabilities for its guests and most new MS Windows detect and use them automatically. Older Windows guests need additional drivers to uses PV. This patch series implements some PV capabilities defined by HYPER-V spec for KVM. Windows guests running on KVM will be able to take advantage of them.
Changelog:
v1->v2
rename kvm_hyperv.h into hyperv.h and move into separate patch minor style fixes
use clear_user-page(0 to zero userspace page
use APIC register names when calling kvm_hv_vapic_msr_(read|write)()
v2->v3
fix msrs_to_save[] handling
fix access to guests memory
use kvm_read_cr0_bits() instead of direct access to cr0
Gleb Natapov (4):
Add HYPE-V header file.
Implement bare minimum of HYPER-V MSRs.
Add HYPER-V apic access MSRs.
Implement NotifyLongSpinWait HYPER-V hypercall.
arch/x86/include/asm/hyperv.h | 187 +++++++++++++++++++++++++++++++ arch/x86/include/asm/kvm_host.h | 6 + arch/x86/include/asm/kvm_para.h | 1 + arch/x86/kvm/lapic.c | 31 +++++ arch/x86/kvm/lapic.h | 8 ++ arch/x86/kvm/trace.h | 32 ++++++ arch/x86/kvm/x86.c | 232 ++++++++++++++++++++++++++++++++++++++- include/linux/kvm.h | 3 + 8 files changed, 499 insertions(+), 1 deletions(-) create mode 100644 arch/x86/include/asm/hyperv.h