On 07/10/2012 02:45 PM, Guido Günther wrote:
The following patches allow to query a guest's hostname. The last
patch might
be debatable since it adds yet another option to virsh list but I hope the rest
of the serious looks sane.
Cheers,
-- Guido
Guido Günther (5):
Add virGetHostname
virsh: Add domhostname
openvz: Add openvzVEGetStringParam
openvz: Implement domainGetHostname
virsh: allow to print hostname in domain listings
Missing a patch to implement the remote protocol glue for this API.
Even if openvz doesn't use it, and even if we don't code up a qemu or
lxc implementation at this time, the rpc code should be pretty easy to
add; having it now will let an early client (such as virsh)
automatically be able to use the API when a later server finally
implements it.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org