Received: from eggs.gnu.org ([2001:4830:134:3::10]:52306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beglb-0007Kc-OX for qemu-devel@nongnu.org; Tue, 30 Aug 2016 06:59:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beglX-0007e5-Kv for qemu-devel@nongnu.org; Tue, 30 Aug 2016 06:59:42 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:37580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beglX-0007dr-Eq for qemu-devel@nongnu.org; Tue, 30 Aug 2016 06:59:39 -0400 Received: by mail-wm0-x234.google.com with SMTP id i5so29205085wmg.0 for ; Tue, 30 Aug 2016 03:59:38 -0700 (PDT) Sender: Paolo Bonzini References: <1472117833-10236-1-git-send-email-dgilbert@redhat.com> From: Paolo Bonzini Message-ID: <5d53e70e-09ca-6e57-92a8-e79f520c3834@redhat.com> Date: Tue, 30 Aug 2016 12:59:35 +0200 MIME-Version: 1.0 In-Reply-To: <1472117833-10236-1-git-send-email-dgilbert@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/2] qom-get [for 2.8] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" , qemu-devel@nongnu.org, lcapitulino@redhat.com, afaerber@suse.de, armbru@redhat.com Cc: arei.gonglei@huawei.com, kwolf@redhat.com On 25/08/2016 11:37, Dr. David Alan Gilbert (git) wrote: > > (qemu) qom-get /backend/console[0]/device/vga.rom[0] size > 65536 (0x10000) > > (qemu) qom-get /machine smm > "auto" > > (qemu) qom-get /machine rtc-time > struct type not implemented Looks nice. Perhaps instead of using the "human" interface we could just print it as JSON and avoid the error. Paolo