[PATCHv2 0/5] Allow to query a guest's hostname

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

 



The following patches allow to query a guest's hostname. Once we also have
support to set the hostname via the domain's xml we can also print it in "virsh
dominfo" by default so I left it out for now.

I left the version at 0.9.14. It'd be happy to change this ot 0.10 should we
settle for that one.

Changes since last time:
  * drop patch to print hostname in "virsh list"
  * add remote protocoll support
  * Addressed Eric's style comments
  * openvzVEGetStringParam: Let virCommandRun do the error printing and missing
    error handling
  * Don't return empty hostnames but raise VIR_ERR_OPERATION_FAILED instead

Cheers,
 -- Guido

Guido Günther (5):
  Add virDomainGetHostname
  virsh: Add domhostname
  remote: Provide RPC call for domainGetHostname
  openvz: Add openvzVEGetStringParam
  openvz: Implement domainGetHostname

 include/libvirt/libvirt.h.in |    2 ++
 src/driver.h                 |    6 ++++++
 src/libvirt.c                |   45 ++++++++++++++++++++++++++++++++++++++++++
 src/libvirt_openvz.syms      |    2 +-
 src/libvirt_public.syms      |    5 +++++
 src/openvz/openvz_driver.c   |   42 +++++++++++++++++++++++++++++++++++++++
 src/openvz/openvz_util.c     |   32 ++++++++++++++++++++++++++++++
 src/openvz/openvz_util.h     |    1 +
 src/remote/remote_driver.c   |    1 +
 src/remote/remote_protocol.x |   12 ++++++++++-
 src/remote_protocol-structs  |    8 ++++++++
 tools/virsh.c                |   44 +++++++++++++++++++++++++++++++++++++++++
 tools/virsh.pod              |    4 ++++
 13 files changed, 202 insertions(+), 2 deletions(-)

-- 
1.7.10.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]