Received: from eggs.gnu.org ([2001:4830:134:3::10]:58302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiMHB-0007Tv-Fs for qemu-devel@nongnu.org; Wed, 15 Apr 2015 08:18:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiMH8-0004BO-8l for qemu-devel@nongnu.org; Wed, 15 Apr 2015 08:18:41 -0400 Received: from smtp3.mundo-r.com ([212.51.32.191]:34548 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiMH8-0004B0-23 for qemu-devel@nongnu.org; Wed, 15 Apr 2015 08:18:38 -0400 From: Alberto Garcia In-Reply-To: <1429097404-28027-1-git-send-email-pbonzini@redhat.com> References: <1429097404-28027-1-git-send-email-pbonzini@redhat.com> Date: Wed, 15 Apr 2015 14:18:35 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] qmp-commands: fix incorrect uses of ":O" specifier List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: armbru@redhat.com, Luiz Capitulino On Wed 15 Apr 2015 01:30:04 PM CEST, Paolo Bonzini wrote: > As far as the QMP parser is concerned, neither the 'O' nor the 'q' > format specifiers put any constraint on the command. However, there > are two differences: > > 1) from a documentation point of view 'O' says that this command takes > a dictionary. The dictionary will be converted to QemuOpts in the > handler to match the corresponding HMP command. Is that documentation the comments in monitor.c? It could also be a good moment to document there 'q' as well. Otherwise the patch looks good to me, Reviewed-by: Alberto Garcia Berto