On 07/18/2012 02:19 PM, Daniel P. Berrange wrote:
On Sun, Jul 15, 2012 at 11:45:06PM +0200, Guido Günther wrote:
> to query the guest's hostname.
> ---
> +++ b/tools/virsh.pod
> @@ -826,6 +826,10 @@ Output a URI which can be used to connect to the graphical
display of the
> domain via VNC, SPICE or RDP. If I<--include-password> is specified, the
> SPICE channel password will be included in the URI.
>
> +=item B<domhostname> I<domain-id>
> +
> +Returns the hostname of a domain.
> +
Might be worth mentioning that not all hypervisors support this information.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org