From patchwork Mon Jan 31 15:20:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 81135 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9D53CB6F10 for ; Tue, 1 Feb 2011 02:24:26 +1100 (EST) Received: from localhost ([127.0.0.1]:53640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pjvc6-0007jj-KZ for incoming@patchwork.ozlabs.org; Mon, 31 Jan 2011 10:24:22 -0500 Received: from [140.186.70.92] (port=48542 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjvZA-0006Q2-QR for qemu-devel@nongnu.org; Mon, 31 Jan 2011 10:21:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjvZ9-0001bV-G8 for qemu-devel@nongnu.org; Mon, 31 Jan 2011 10:21:20 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:62056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjvZ9-0001bM-7H for qemu-devel@nongnu.org; Mon, 31 Jan 2011 10:21:19 -0500 Received: by bwz16 with SMTP id 16so5607723bwz.4 for ; Mon, 31 Jan 2011 07:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=fhJA2Rb4nQnBMGsxfekLHmETPtHZmPQszyug2nIBUjE=; b=qcALd2scvKIT2x1TRdU2zOIRoJ+DTrUAtbvAG0/KHImtz8JeB756VLKdeuwbYTEvsq kkFHNUhnNNyWnLQpW1/83hQzMzTU0bWH7JC6/wS8w33RpPiSCMdey8VCerm9+5esQiNw BwXaYwYh5PbzwS03Sq7m7jXEGMRp7JI4Dx4tE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; b=bv+er747AgjbN2cSEu06GJUL9K23hqQoeTEuMdnsncS/Exd7waA1ebb+WCl1RfeJ40 BWRDkFwCVgiiANTs3Jf3MiZdgAKuIa4QN6IICMHyJ+JrDYYj7iwzA/JfyzIdsEiRzxAu bOnRKODggQ0wRaDukT0HoK3ZxiA7G15Uf5CYY= Received: by 10.204.102.206 with SMTP id h14mr5432382bko.45.1296487277522; Mon, 31 Jan 2011 07:21:17 -0800 (PST) Received: from doriath.ww600.siemens.net ([91.213.169.4]) by mx.google.com with ESMTPS id z18sm8098299bkf.20.2011.01.31.07.21.15 (version=SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 07:21:16 -0800 (PST) From: Dmitry Eremin-Solenikov To: qemu-devel@nongnu.org Date: Mon, 31 Jan 2011 18:20:41 +0300 Message-Id: <1296487250-28254-2-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1296487250-28254-1-git-send-email-dbaryshkov@gmail.com> References: <1296487250-28254-1-git-send-email-dbaryshkov@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.45 Subject: [Qemu-devel] [PATCH 02/11] sysbus: print amount of irqs in dev_print X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Dmitry Eremin-Solenikov --- hw/sysbus.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index 1583bd8..1928b51 100644 --- a/hw/sysbus.c +++ b/hw/sysbus.c @@ -178,6 +178,7 @@ static void sysbus_dev_print(Monitor *mon, DeviceState *dev, int indent) SysBusDevice *s = sysbus_from_qdev(dev); int i; + monitor_printf(mon, "%*sirq %d\n", indent, "", s->num_irq); for (i = 0; i < s->num_mmio; i++) { monitor_printf(mon, "%*smmio " TARGET_FMT_plx "/" TARGET_FMT_plx "\n", indent, "", s->mmio[i].addr, s->mmio[i].size);