From: jd <jdsw2002@yahoo.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: KVM List <kvm@vger.kernel.org>
Subject: Re: KVM Guest detection
Date: Wed, 13 Aug 2008 14:05:11 -0700 (PDT) [thread overview]
Message-ID: <800147.45092.qm@web35804.mail.mud.yahoo.com> (raw)
In-Reply-To: <48A32F12.1000602@codemonkey.ws>
Thanks. Good to know that most hypervisors are using this mechanism.
/Jd
--- On Wed, 8/13/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
> From: Anthony Liguori <anthony@codemonkey.ws>
> Subject: Re: KVM Guest detection
> To: jdsw2002@yahoo.com
> 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 majordomo@vger.kernel.org
> > 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 majordomo@vger.kernel.org
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-08-13 21:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-13 17:57 KVM Guest detection jd
2008-08-13 18:40 ` David Mair
2008-08-13 18:59 ` Anthony Liguori
2008-08-13 21:05 ` jd [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-02-06 20:08 KVM Guest Detection Chris J Arges
2015-02-09 13:26 ` Paolo Bonzini
2015-02-09 14:37 ` Chris J Arges
2015-02-09 16:12 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=800147.45092.qm@web35804.mail.mud.yahoo.com \
--to=jdsw2002@yahoo.com \
--cc=anthony@codemonkey.ws \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.