Thanks. Good to know that most hypervisors are using this mechanism.

/Jd

--- On Wed, 8/13/08, Anthony Liguori <[EMAIL PROTECTED]> wrote:

> From: Anthony Liguori <[EMAIL PROTECTED]>
> Subject: Re: KVM  Guest detection
> To: [EMAIL PROTECTED]
> Cc: "KVM List" <kvm@vger.kernel.org>
> Date: Wednesday, August 13, 2008, 11:59 AM
> jd wrote:
> > Hi
> >
> > Is there a way to detect if a particular machine is a
> VM running on KVM hypervisor or not. i.e from within a guest
> can one figure out if it is running on top of a hypervisor
> and not physical machine ? [For both Linux guests and
> Windows guests ]
> >   
> 
> The preferred way of doing this is checking CPUID leaf
> 0x4000 0000 for 
> the signature "KVMKVMKVM".
> 
> Most hypervisors (KVM, Xen, VMware, and Hyper-V) are
> adopting this as 
> the preferred detection mechanism.
> 
> Regards,
> 
> Anthony Liguori
> 
> > /Jd
> >
> >
> >
> >       
> > --
> > To unsubscribe from this list: send the line
> "unsubscribe kvm" in
> > the body of a message to [EMAIL PROTECTED]
> > More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> >   
> 
> --
> To unsubscribe from this list: send the line
> "unsubscribe kvm" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html


      
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to