Received: from eggs.gnu.org ([140.186.70.92]:50561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbB33-0005i7-K9 for qemu-devel@nongnu.org; Mon, 27 Jun 2011 08:36:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbB31-00035Z-OZ for qemu-devel@nongnu.org; Mon, 27 Jun 2011 08:36:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbB31-00035H-4x for qemu-devel@nongnu.org; Mon, 27 Jun 2011 08:36:15 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5RCaD1v028745 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 27 Jun 2011 08:36:14 -0400 From: Markus Armbruster References: <1305805037-17752-1-git-send-email-armbru@redhat.com> <20110627095420.GG9369@amit-x200.redhat.com> Date: Mon, 27 Jun 2011 14:36:11 +0200 In-Reply-To: <20110627095420.GG9369@amit-x200.redhat.com> (Amit Shah's message of "Mon, 27 Jun 2011 15:24:20 +0530") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 0/4] A few cleanups of qdev users List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: alevy@redhat.com, qemu-devel@nongnu.org, kraxel@redhat.com Amit Shah writes: > On (Fri) 24 Jun 2011 [13:57:28], Markus Armbruster wrote: >> Ping? > > There were a couple of things: > >> port 0, guest on, host off, throttle off > > guest on/off, host on/off doesn't convey much -- what's on/off? > > Also, 'throttle' could be 'thottled'? Discussion petered out with my message[*]: I chose on/off to stay consistent with how qdev shows bool properties (print_bit() in qdev-properties.c). May be misguided. Like you, I'm having difficulties coming up with a better version that is still consise. But: should "info qtree" show such device state? It's about configuration of the device tree, isn't it? Connection status is useful to know, but it's not device configuration. Other print_dev() methods may cross that line, too. For instance, usb_bus_dev_print() prints attached, which looks suspicious (commit 66a6593a). Should info qtree continue to show this information? If yes, care to suggest a better format? [*] http://lists.gnu.org/archive/html/qemu-devel/2011-05/msg01919.html