From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmffL-0002Fw-0w for qemu-devel@nongnu.org; Wed, 21 Sep 2016 07:26:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmffH-0004a1-1f for qemu-devel@nongnu.org; Wed, 21 Sep 2016 07:26:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmffG-0004Zv-RZ for qemu-devel@nongnu.org; Wed, 21 Sep 2016 07:26:10 -0400 From: Michal Privoznik Date: Wed, 21 Sep 2016 13:26:01 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v2 0/2] Produce better termination message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, armbru@redhat.com, peter.maydell@linaro.org, eblake@redhat.com v2 of: http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg04710.html The checkpatch.pl shows the following error for 1/2: ERROR: architecture specific defines should be avoided #63: FILE: util/oslib-posix.c:441: +#if defined(__FreeBSD__) But I guess we should ignore the error, since in this case we want OS specific code. diff to v1: - Reworked 1/2 to follow Paolo's review suggestions - Produce "()" instead of "()" in 2/2 in case the PID is unknown. 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 | 37 +++++++++++++++++++++++++++++++++++++ util/oslib-win32.c | 7 +++++++ vl.c | 8 ++++++-- 4 files changed, 60 insertions(+), 2 deletions(-) -- 2.8.4