commit | e47f4765afcab2b78dfa5b0115abf64d1d49a5d3 | [log] [tgz] |
---|---|---|
author | Michal Privoznik <mprivozn@redhat.com> | Mon Jun 22 20:19:35 2020 +0200 |
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | Mon Jul 13 17:44:58 2020 -0500 |
tree | 742e33d46437b3f323f14290732020d1e9df05d0 | |
parent | 844bd70b5652f30bbace89499f513e3fbbb6457a [diff] |
util: Introduce qemu_get_host_name() This function offers operating system agnostic way to fetch host name. It is implemented for both POSIX-like and Windows systems. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Cc: qemu-stable@nongnu.org Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>