Re: [PATCH 1/5] KVM: fix coexistence of KVM and Hyper-V leaves

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 24/01/2014 20:08, Marcelo Tosatti ha scritto:
> kvm_arch_init_vcpu's initialization of the KVM leaves at 0x40000100
> is broken, because KVM_CPUID_FEATURES is left at 0x40000001.  Move
> it to 0x40000101 if Hyper-V is enabled.
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
arch/x86/include/asm/kvm_para.h

static inline unsigned int kvm_arch_para_features(void)
{
        return cpuid_eax(KVM_CPUID_FEATURES);
}

Shouldnt it be using kvm_cpuid_base ?


Yes.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux