Re: [PATCH v3 1/2] util: Introduce qemu_get_host_name()

2020-06-23 Thread Daniel P . Berrangé
On Mon, Jun 22, 2020 at 08:19:35PM +0200, Michal Privoznik wrote: > 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 > --- > include/qemu/osdep.h | 10 ++ > util/oslib-p

Re: [PATCH v3 1/2] util: Introduce qemu_get_host_name()

2020-06-22 Thread Philippe Mathieu-Daudé
On 6/22/20 8:19 PM, Michal Privoznik wrote: > 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 Thanks for the updates! Reviewed-by: Philippe Mathieu-Daudé > --- > include/qe

[PATCH v3 1/2] util: Introduce qemu_get_host_name()

2020-06-22 Thread Michal Privoznik
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 --- include/qemu/osdep.h | 10 ++ util/oslib-posix.c | 35 +++ util/oslib-win32.c | 13 +++