[Devel] [PATCH RHEL7 COMMIT] ms/kvm/x86: Hyper-V HV_X64_MSR_VP_INDEX export for QEMU.

Konstantin Khorenko khorenko at virtuozzo.com
Tue Feb 16 01:50:11 PST 2016


The commit is pushed to "branch-rh7-3.10.0-327.4.5.vz7.11.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.4.5.vz7.11.2
------>
commit b54bf899a26bb3d339b87f49857934167deecec2
Author: Andrey Smetanin <asmetanin at virtuozzo.com>
Date:   Tue Feb 16 13:50:11 2016 +0400

    ms/kvm/x86: Hyper-V HV_X64_MSR_VP_INDEX export for QEMU.
    
    Insert Hyper-V HV_X64_MSR_VP_INDEX into msr's emulated list,
    so QEMU can set Hyper-V features cpuid HV_X64_MSR_VP_INDEX_AVAILABLE
    bit correctly. KVM emulation part is in place already.
    
    Necessary to support loading of winhv.sys in guest, which in turn is
    required to support Windows VMBus.
    
    ms commit 11c4b1ca719eaaa5ca6fe0e80bb009f3f2012fd2.
    
    Signed-off-by: Andrey Smetanin <asmetanin at virtuozzo.com>
    
    Reviewed-by: Roman Kagan <rkagan at virtuozzo.com>
    Signed-off-by: Denis V. Lunev <den at openvz.org>
    CC: Paolo Bonzini <pbonzini at redhat.com>
    CC: Gleb Natapov <gleb at kernel.org>
    Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
---
 arch/x86/kvm/x86.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 19897d9..70a2b98 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -940,6 +940,7 @@ static u32 emulated_msrs[] = {
 	HV_X64_MSR_CRASH_P0, HV_X64_MSR_CRASH_P1, HV_X64_MSR_CRASH_P2,
 	HV_X64_MSR_CRASH_P3, HV_X64_MSR_CRASH_P4, HV_X64_MSR_CRASH_CTL,
 	HV_X64_MSR_RESET,
+	HV_X64_MSR_VP_INDEX,
 	HV_X64_MSR_APIC_ASSIST_PAGE, MSR_KVM_ASYNC_PF_EN, MSR_KVM_STEAL_TIME,
 	MSR_KVM_PV_EOI_EN,
 


More information about the Devel mailing list