All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Privoznik <mprivozn@redhat.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, vfeenstr@redhat.com,
	marcandre.lureau@gmail.com, mdroth@linux.vnet.ibm.com,
	sw@weilnetz.de
Subject: [PATCH v3 0/2] qga: Ditch g_get_host_name()
Date: Mon, 22 Jun 2020 20:19:34 +0200	[thread overview]
Message-ID: <cover.1592849834.git.mprivozn@redhat.com> (raw)

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



             reply	other threads:[~2020-06-22 18:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 18:19 Michal Privoznik [this message]
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é

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1592849834.git.mprivozn@redhat.com \
    --to=mprivozn@redhat.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    --cc=vfeenstr@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.