[virt-tools-list] [KVM] : Identify KVM-Host from inside the KVM-Guest

Richard W.M. Jones rjones at redhat.com
Wed Nov 16 12:31:12 UTC 2011

On Tue, Nov 15, 2011 at 10:07:03AM +0530, Anand Nande wrote:
> Hi,
> Is there a way to identify the KVM Host on which a KVM-Guest is
> running - all this from inside the KVM-Guest.
> Any 'virsh' options or any files that can tell me the name of the
> parent-KVM-Host running this particular KVM-Guest?
> [in the form of the KVM-hosts ipaddress or hostname]
> PS:
> I am trying to figure this out - while taking a direct-VNC
> connection to a Fedora-15 Guest being hosted by a Fedora-16 KVM
> host.
> I have tried using virt-what which just gives the type of hypervisor
> or the version of the KVM (inside the KVM-guest):
> #virt-what
> kvm
> #virt-what --version
> 1.11
> Any suggestions - Appreciated.

You probably want to look at 'vhostmd'.  It's packaged in Fedora.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

More information about the virt-tools-list mailing list