From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 1/5] KVM: fix coexistence of KVM and Hyper-V leaves Date: Fri, 24 Jan 2014 20:40:49 +0100 Message-ID: <52E2C1C1.7020200@redhat.com> References: <1390580276-15298-1-git-send-email-pbonzini@redhat.com> <1390580276-15298-2-git-send-email-pbonzini@redhat.com> <20140124190809.GC11980@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, vrozenfe@redhat.com To: Marcelo Tosatti Return-path: In-Reply-To: <20140124190809.GC11980@amt.cnet> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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 > 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