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
include/libvirt/libvirt.h.in | 2 ++
src/driver.h | 6 ++++
src/libvirt.c | 42 ++++++++++++++++++++++++++++
src/libvirt_openvz.syms | 2 +-
src/libvirt_public.syms | 5 ++++
src/openvz/openvz_driver.c | 28 +++++++++++++++++++
src/openvz/openvz_util.c | 31 +++++++++++++++++++++
src/openvz/openvz_util.h | 1 +
tools/virsh.c | 62 +++++++++++++++++++++++++++++++++++++++++-
tools/virsh.pod | 4 +++
10 files changed, 181 insertions(+), 2 deletions(-)
--
1.7.10.4