v2 of: https://lists.nongnu.org/archive/html/qemu-devel/2020-06/msg04457.html
diff to v1: - Move implementation out from qga/ to util/oslib-* Michal Privoznik (2): util: Introduce qemu_get_host_name() qga: Use qemu_get_host_name() instead of g_get_host_name() include/qemu/osdep.h | 10 ++++++++++ qga/commands.c | 17 +++++++++++++---- util/oslib-posix.c | 32 ++++++++++++++++++++++++++++++++ util/oslib-win32.c | 13 +++++++++++++ 4 files changed, 68 insertions(+), 4 deletions(-) -- 2.26.2