From patchwork Thu Jan 31 16:46:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Fergeau X-Patchwork-Id: 1034378 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43r5vz4dH2z9sBb for ; Fri, 1 Feb 2019 03:55:43 +1100 (AEDT) Received: from localhost ([127.0.0.1]:57340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFcr-0004EK-OV for incoming@patchwork.ozlabs.org; Thu, 31 Jan 2019 11:55:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFbb-0003ZG-Sf for qemu-devel@nongnu.org; Thu, 31 Jan 2019 11:54:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpFbb-0004QW-04 for qemu-devel@nongnu.org; Thu, 31 Jan 2019 11:54:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:26933) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gpFba-0004QN-LM for qemu-devel@nongnu.org; Thu, 31 Jan 2019 11:54:22 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 660F72CD7E3 for ; Thu, 31 Jan 2019 16:46:41 +0000 (UTC) Received: from natto.ory.fergeau.eu (unknown [10.48.1.53]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 370411F2; Thu, 31 Jan 2019 16:46:41 +0000 (UTC) Received: by natto.ory.fergeau.eu (Postfix, from userid 1000) id 1B7E061F906; Thu, 31 Jan 2019 17:46:40 +0100 (CET) From: Christophe Fergeau To: qemu-devel@nongnu.org Date: Thu, 31 Jan 2019 17:46:12 +0100 Message-Id: <20190131164614.19209-1-cfergeau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 31 Jan 2019 16:46:41 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v7 0/2] log: Make glib logging go through QEMU X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Markus Armbruster Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The main goal of this patch series is to make logs output by libspice-server.so go through qemu logging infrastructure so that their format is the same as the rest of QEMU messages (in particular, timestamps). This is done in the second patch, the first one is a preparation patch. Christophe Fergeau (2): qemu-io: Use error_[gs]et_progname() log: Make glib logging go through QEMU bsd-user/main.c | 2 ++ include/qemu/error-report.h | 3 +- linux-user/main.c | 2 ++ qemu-img.c | 2 +- qemu-io.c | 14 ++++------ qemu-nbd.c | 2 +- scsi/qemu-pr-helper.c | 1 + util/qemu-error.c | 55 ++++++++++++++++++++++++++++++++++++- vl.c | 2 +- 9 files changed, 70 insertions(+), 13 deletions(-) Reviewed-by: Markus Armbruster