From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: State of current pv_ops backend for KVM? Date: Wed, 30 May 2007 13:20:32 -0500 Message-ID: <465DC070.1020704@us.ibm.com> References: <465B87CE.6030801@codemonkey.ws> <1180491861.30202.61.camel@localhost.localdomain> <465CE6AD.7000206@codemonkey.ws> <465DBC39.7090308@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Zachary Amsden Return-path: In-Reply-To: <465DBC39.7090308-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Zachary Amsden wrote: >> VMI can determine that it's under VMware since VMware has to publish >> an option ROM. It's quite neat, but overkill for what we're doing >> (since we're not going to be using a ROM anyway). > > The near to being blessed way to do this is to use a CPUID leaf (I > believe it is 0x40000000) to identify the hypervisor. I don't have > the exact details, but making CPUID 0x40000000 return 'KVMKVMKVMKVM' > sounds like a pretty safe detection technique. I apparently missed the memo :-) I'll update the patch. Regards, Anthony Liguori > We're probably dropping the ROM probing in favor of this for 64-bit. > Zach > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/