From: Alok Kataria Subject: Re: [RFC] CPUID usage for interaction between Hypervisors and Linux. Date: Wed, 01 Oct 2008 10:33:51 -0700 Message-ID: <1222882431.9381.23.camel@alok-dev1> References: <1222881242.9381.17.camel@alok-dev1> <48E3B19D.6060905@zytor.com> Reply-To: akataria@vmware.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Jeremy Fitzhardinge , "avi@redhat.com" , Rusty Russell , Gerd Hoffmann , Ingo Molnar , the arch/x86 maintainers , LKML , "Nakajima, Jun" , Daniel Hecht , Zach Amsden , "virtualization@lists.linux-foundation.org" , "kvm@vger.kernel.org" To: "H. Peter Anvin" Return-path: Received: from smtp-outbound-1.vmware.com ([65.113.40.141]:59774 "EHLO smtp-outbound-1.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752087AbYJARdw (ORCPT ); Wed, 1 Oct 2008 13:33:52 -0400 In-Reply-To: <48E3B19D.6060905@zytor.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2008-10-01 at 10:21 -0700, H. Peter Anvin wrote: > Alok Kataria wrote: > > > > (This proposal may be adopted by other guest OSes. However, that is not > > a requirement because a hypervisor can expose a different CPUID > > interface depending on the guest OS type that is specified by the VM > > configuration.) > > > > Excuse me, but that is blatantly idiotic. Expecting the user having to > configure a VM to match the target OS is *exactly* as stupid as > expecting the user to reconfigure the BIOS. It's totally the wrong > thing to do. Hi Peter, Its not a user who has to do anything special here. There are *intelligent* VM developers out there who can export a different CPUid interface depending on the guest OS type. And this is what most of the hypervisors do (not necessarily for CPUID, but for other things right now). Alok. > > -hpa