From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH 1/2] show hypervisor information on cpuinfo Date: Thu, 05 Feb 2009 13:08:03 -0600 Message-ID: <498B3913.2010701@codemonkey.ws> References: <1233859341-10419-1-git-send-email-glommer@redhat.com> <1233859341-10419-2-git-send-email-glommer@redhat.com> <20090205190250.GE20470@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Glauber Costa , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, avi@redhat.com, akataria@vmware.com, Glauber Costa To: Ingo Molnar Return-path: In-Reply-To: <20090205190250.GE20470@elte.hu> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Ingo Molnar wrote: > * Glauber Costa wrote: > > >> +char * __cpuinit hypervisor_str(struct cpuinfo_x86 *c) >> +{ >> + if (c->x86_hyper_vendor == X86_HYPER_VENDOR_VMWARE) >> + return "VMWare"; >> + else >> + return "none"; >> +} >> > > i'd suggest these variants instead: > > virtualization: native kernel > I don't think "native kernel" really ports well to other architectures (like s390 or PPC) that always have hypervisors present in some form. I think "none" makes more sense in the case of bare metal x86. Regards, Anthony Liguori > virtualization: KVM guest > virtualization: VMWare guest > virtualization: Linux guest > > Ingo > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >