From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755210Ab3GYH7t (ORCPT ); Thu, 25 Jul 2013 03:59:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14983 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755091Ab3GYH7l (ORCPT ); Thu, 25 Jul 2013 03:59:41 -0400 Message-ID: <51F0DAD1.8080108@redhat.com> Date: Thu, 25 Jul 2013 09:59:13 +0200 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: "H. Peter Anvin" CC: KY Srinivasan , Jason Wang , "tglx@linutronix.de" , "mingo@redhat.com" , "x86@kernel.org" , "gleb@redhat.com" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 4/4] x86: properly handle kvm emulation of hyperv References: <1374572465-15278-1-git-send-email-jasowang@redhat.com> <1374572465-15278-4-git-send-email-jasowang@redhat.com> <51EE97BD.4050402@zytor.com> <51EF59FB.8040207@redhat.com> <51EF5C9C.6070403@zytor.com> <51EF7A2A.6040003@redhat.com> <51EF7CFB.8030104@redhat.com> <889e20ee-7655-4fdc-b30a-150b8604ca0f@email.android.com> In-Reply-To: <889e20ee-7655-4fdc-b30a-150b8604ca0f@email.android.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 24/07/2013 23:37, H. Peter Anvin ha scritto: > What I'm suggesting is exactly that except that the native hypervisor is later in CPUID space. Me too actually. I was just suggesting an implementation of the idea (that takes into account hypervisors detected by other means than CPUID). Paolo > KY Srinivasan wrote: >> As Paolo suggested if there were some priority encoded, the guest could make an >> informed decision. If the guest under question can run on both hypervisors A and B, >> we would rather the guest discover hypervisor A when running on A and >> hypervisor B when running on B. The priority encoding could be as simple as >> surfacing the native hypervisor signature earlier in the CPUID space.