libvirt_get_hostname Get hostname on which the hypervisor is running
&reftitle.description; string libvirt_get_hostname resource connection

This returns the system hostname on which the hypervisor is running (the result of the gethostname(2) system call). If we are connected to a remote system, then this returns the hostname of the remote system.

&reftitle.parameters;

connection

  Connection resource of hypervisor.

&reftitle.returnvalues;

Host name of the hypervisor.

&reftitle.seealso;

- `libvirt_node_get_info`