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

Han Han hhan at redhat.com
Tue Aug 21 03:28:11 UTC 2018


On Tue, Aug 21, 2018 at 10:34 AM, Julio Faracco <jcfaracco at gmail.com> wrote:

> 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.
>
How about updating improvements part of news.xml to inform users that they
could use
virDomainGetHostname to qemu VMs :)?

>
>  src/qemu/qemu_agent.c  | 42 ++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_agent.h  |  4 ++++
>  src/qemu/qemu_driver.c | 40 ++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 86 insertions(+)
>
> --
> 2.17.1
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>



-- 
Best regards,
-----------------------------------
Han Han
Quality Engineer
Redhat.

Email: hhan at redhat.com
Phone: +861065339333
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180821/0a9c8b6a/attachment-0001.htm>


More information about the libvir-list mailing list