[libvirt] [PATCH v3 0/2] Add .domainGetHostname() support for QEMU driver.

Julio Faracco jcfaracco at gmail.com
Wed Aug 22 02:39:40 UTC 2018


This serie adds a new function into QEMU Guest Agent handlers 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.

Julio Faracco (2):
  qemu: implementing qemuAgentGetHostname() function.
  qemu: adding domainGetHostname support for QEMU.

 src/qemu/qemu_agent.c  | 39 +++++++++++++++++++++++++++++++++++++++
 src/qemu/qemu_agent.h  |  4 ++++
 src/qemu/qemu_driver.c | 40 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+)

-- 
2.17.1




More information about the libvir-list mailing list