From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEpLM-0007DC-5I for qemu-devel@nongnu.org; Mon, 02 Apr 2012 18:03:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEpLI-00065z-SC for qemu-devel@nongnu.org; Mon, 02 Apr 2012 18:03:19 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:39185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEpLI-00065J-J8 for qemu-devel@nongnu.org; Mon, 02 Apr 2012 18:03:16 -0400 Received: by wibhn6 with SMTP id hn6so2725143wib.10 for ; Mon, 02 Apr 2012 15:03:14 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4F7A221D.1070307@redhat.com> Date: Tue, 03 Apr 2012 00:03:09 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4F79FF0E.9090701@web.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qdev property listing broken List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org Il 02/04/2012 22:07, Peter Maydell ha scritto: > On 2 April 2012 20:40, Paolo Bonzini wrote: >> diff --git a/hw/qdev-monitor.c b/hw/qdev-monitor.c >> index a310cc7..923519c 100644 >> --- a/hw/qdev-monitor.c >> +++ b/hw/qdev-monitor.c >> @@ -157,7 +157,7 @@ int qdev_device_help(QemuOpts *opts) >> * for removal. This conditional should be removed along with >> * it. >> */ >> - if (!prop->info->parse) { >> + if (!prop->info->get) { >> continue; /* no way to set it, don't show */ >> } > > This looks really weird: there's no "get" method so we conclude > "no way to *set* it" ?? Is the comment wrong? See the comment above. Paolo