[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.

Rich.

-- 
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#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]