diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2020-06-22 20:19:35 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2020-07-13 17:44:58 -0500 |
commit | e47f4765afcab2b78dfa5b0115abf64d1d49a5d3 (patch) | |
tree | 742e33d46437b3f323f14290732020d1e9df05d0 /monitor/qmp.c | |
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>
Diffstat (limited to 'monitor/qmp.c')
0 files changed, 0 insertions, 0 deletions