qemu-devel
[Top][All Lists]
Advanced

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

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


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/5] KVM: fix coexistence of KVM and Hyper-V leaves
Date: Fri, 24 Jan 2014 20:40:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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 <address@hidden>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]