qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] qga: Ditch g_get_host_name()
@ 2020-06-22 18:19 Michal Privoznik
  2020-06-22 18:19 ` [PATCH v3 1/2] util: Introduce qemu_get_host_name() Michal Privoznik
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Michal Privoznik @ 2020-06-22 18:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, vfeenstr, marcandre.lureau, mdroth, sw

v3 of:

https://lists.nongnu.org/archive/html/qemu-devel/2020-06/msg06913.html

diff to v2:
- don't leak @hostname in util/oslib-posix.c:qemu_get_host_name()
- document why we are allocating one byte more than needed
- switch to g_new0() from g_malloc0().

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   | 35 +++++++++++++++++++++++++++++++++++
 util/oslib-win32.c   | 13 +++++++++++++
 4 files changed, 71 insertions(+), 4 deletions(-)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-07-13 11:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-22 18:19 [PATCH v3 0/2] qga: Ditch g_get_host_name() Michal Privoznik
2020-06-22 18:19 ` [PATCH v3 1/2] util: Introduce qemu_get_host_name() Michal Privoznik
2020-06-22 18:37   ` Philippe Mathieu-Daudé
2020-06-23  8:50   ` Daniel P. Berrangé
2020-06-22 18:19 ` [PATCH v3 2/2] qga: Use qemu_get_host_name() instead of g_get_host_name() Michal Privoznik
2020-06-23  8:50   ` Daniel P. Berrangé
2020-07-10  9:43 ` [PATCH v3 0/2] qga: Ditch g_get_host_name() Michal Privoznik
2020-07-13 10:57   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).