From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn77S-0003eB-JK for qemu-devel@nongnu.org; Thu, 22 Sep 2016 12:45:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn77M-0003CI-Ji for qemu-devel@nongnu.org; Thu, 22 Sep 2016 12:45:05 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn77M-000345-EZ for qemu-devel@nongnu.org; Thu, 22 Sep 2016 12:45:00 -0400 Received: by mail-wm0-f68.google.com with SMTP id l132so14974126wmf.1 for ; Thu, 22 Sep 2016 09:44:39 -0700 (PDT) Sender: Paolo Bonzini References: From: Paolo Bonzini Message-ID: <8e0d68a2-d7df-9252-a099-a8a31b621670@redhat.com> Date: Thu, 22 Sep 2016 18:43:36 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/2] Produce better termination message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michal Privoznik , qemu-devel@nongnu.org Cc: armbru@redhat.com, peter.maydell@linaro.org On 21/09/2016 18:27, Michal Privoznik wrote: > This is v2 of: > http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg05058.html > > Diff to v2: > - In 1/2 I've dropped stdio funcs in favour of g_file_get_contents() (thanks Dan!) > > Michal Privoznik (2): > util: Introduce qemu_get_pid_name > qemu_kill_report: Report PID name too > > include/qemu/osdep.h | 10 ++++++++++ > util/oslib-posix.c | 27 +++++++++++++++++++++++++++ > util/oslib-win32.c | 7 +++++++ > vl.c | 8 ++++++-- > 4 files changed, 50 insertions(+), 2 deletions(-) > Patch 2/2 breaks "make check". You cannot call malloc from a signal handler, and this shows as a deadlock in /x86_64/virtio/scsi/pci/hotplug. You have to use the large buffer, _but_ I cannot just keep patch 2 because you also have to use open/read/close instead of stdio. Thanks, Paolo