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

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



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


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