Received: from eggs.gnu.org ([2001:4830:134:3::10]:43322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhFbI-0001af-5A for qemu-devel@nongnu.org; Tue, 06 Sep 2016 08:35:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhFbC-0002qp-R7 for qemu-devel@nongnu.org; Tue, 06 Sep 2016 08:35:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:57257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhFbC-0002qM-Ea for qemu-devel@nongnu.org; Tue, 06 Sep 2016 08:35:34 -0400 References: <1473157086-12062-1-git-send-email-dgilbert@redhat.com> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Message-ID: <74f51f0e-6e71-9d26-e26d-40fe3a8d426c@suse.de> Date: Tue, 6 Sep 2016 14:35:28 +0200 MIME-Version: 1.0 In-Reply-To: <1473157086-12062-1-git-send-email-dgilbert@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2] qom: Implement qom-get HMP command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" , qemu-devel@nongnu.org Cc: lcapitulino@redhat.com, armbru@redhat.com, pbonzini@redhat.com, arei.gonglei@huawei.com, kwolf@redhat.com Am 06.09.2016 um 12:18 schrieb Dr. David Alan Gilbert (git): > From: "Dr. David Alan Gilbert" >=20 > This started off as Andreas F=C3=A4rber's implementation from > March 2015, but after feedback from Paolo morphed into > using the json output which handles structs reasonably. >=20 > Use with qom-list to find the members of an object. >=20 > (qemu) qom-get /backend/console[0]/device/vga.rom[0] size > 65536 > (qemu) qom-get /machine smm > "auto" > (qemu) qom-get /machine rtc-time > { > "tm_year": 116, > "tm_sec": 0, > "tm_hour": 9, > "tm_min": 46, > "tm_mon": 8, > "tm_mday": 6 > } > (qemu) qom-get /machine frob > Property '.frob' not found >=20 > Signed-off-by: Dr. David Alan Gilbert Acked-by: Andreas F=C3=A4rber Thanks for working on this, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton HRB 21284 (AG N=C3=BCrnberg)