From patchwork Mon Jul 4 15:14:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 103127 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 50396B6F6E for ; Tue, 5 Jul 2011 01:41:23 +1000 (EST) Received: from localhost ([::1]:60047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdlGy-000679-78 for incoming@patchwork.ozlabs.org; Mon, 04 Jul 2011 11:41:20 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdkqx-0008Iz-Va for qemu-devel@nongnu.org; Mon, 04 Jul 2011 11:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qdkqu-0006kB-5e for qemu-devel@nongnu.org; Mon, 04 Jul 2011 11:14:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdkqs-0006jc-Rw for qemu-devel@nongnu.org; Mon, 04 Jul 2011 11:14:23 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p64FEMYd013802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 4 Jul 2011 11:14:22 -0400 Received: from rincewind.home.kraxel.org (vpn1-7-218.ams2.redhat.com [10.36.7.218]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p64FEKHU022415; Mon, 4 Jul 2011 11:14:20 -0400 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id 6C998415C2; Mon, 4 Jul 2011 17:14:16 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Mon, 4 Jul 2011 17:14:12 +0200 Message-Id: <1309792455-26825-7-git-send-email-kraxel@redhat.com> In-Reply-To: <1309792455-26825-1-git-send-email-kraxel@redhat.com> References: <1309792455-26825-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Alon Levy , Gerd Hoffmann Subject: [Qemu-devel] [PATCH 6/9] qxl: add dev id to guest prints X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Alon Levy Signed-off-by: Gerd Hoffmann --- hw/qxl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 3722f55..d55b68d 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -985,7 +985,8 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val) break; case QXL_IO_LOG: if (d->guestdebug) { - fprintf(stderr, "qxl/guest: %s", d->ram->log_buf); + fprintf(stderr, "qxl/guest-%d: %ld: %s", d->id, + qemu_get_clock_ns(vm_clock), d->ram->log_buf); } break; case QXL_IO_RESET: