[libvirt] [PATCH v5 0/4] Add .domainGetHostname() support for QEMU driver.

Julio Faracco jcfaracco at gmail.com
Wed Sep 5 04:20:52 UTC 2018


This serie adds a new function into QEMU Guest Agent handler to use the
QEMU command 'guest-get-host-name' to retrieve the domain hostname. This
approach requires QEMU-GA running inside the guest, but it is the fastest
and easiest way to get this info.

This serie has some suggestion made by John Ferlan for v3. Specially,
some improvements to error handling.

v5:
  Contains news suggested by Han Han on v2.
  Contains improvements suggested by John on v3.
  Removes some tabs reported on v4.

Julio Faracco (4):
  qemu: implementing qemuAgentGetHostname() function.
  qemu: adding domainGetHostname support for QEMU
  docs: Add QEMU-GA get hostname feature into news.xml
  qemu: unlink the error report from VIR_STRDUP.

 docs/news.xml          | 10 +++++++
 src/qemu/qemu_agent.c  | 66 ++++++++++++++++++++++++++++++++++++++----
 src/qemu/qemu_agent.h  |  4 +++
 src/qemu/qemu_driver.c | 42 +++++++++++++++++++++++++++
 4 files changed, 116 insertions(+), 6 deletions(-)

-- 
2.17.1




More information about the libvir-list mailing list