Received: from eggs.gnu.org ([2001:4830:134:3::10]:55456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avqF4-0006qF-CB for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:00:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avqF0-0007KU-W2 for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:00:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avqF0-0007KQ-R4 for qemu-devel@nongnu.org; Thu, 28 Apr 2016 14:00:42 -0400 From: Markus Armbruster References: <1461801715-24307-1-git-send-email-eblake@redhat.com> <1461801715-24307-9-git-send-email-eblake@redhat.com> <87d1p9n7ul.fsf@dusky.pond.sub.org> Date: Thu, 28 Apr 2016 20:00:39 +0200 In-Reply-To: (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Thu, 28 Apr 2016 16:39:54 +0200") Message-ID: <87inz1ehq0.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v15 08/23] monitor: Let generated code validate arguments List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: Michael Roth , QEMU , Luiz Capitulino Marc-Andr=C3=A9 Lureau writes: > On Thu, Apr 28, 2016 at 4:09 PM, Markus Armbruster wr= ote: >> >> * device_add, qmp_capabilities >> >> Not QAPIfied, need everything. > > Some related commits from https://github.com/elmarco/qemu/commits/qapi > > > https://github.com/elmarco/qemu/commit/e6828a0a926e20d3ee91ea956152b610ca= 30d2b8 > > https://github.com/elmarco/qemu/commit/ba871db1c8d0edd0cbe7be716952f72c9d= f519a2 > >> >> * netdev_add, query-qmp-schema >> >> Need .args_type because of 'gen': false. >> >> * client_migrate_info, dump-guest-memory, query-dump, getfd, closefd, >> add-fd, remove-fd, query-fdsets, migrate-set-capabilities >> >> Define .params and/or .help. Does this make any sense? >> >> A comment explaining which members need to be set would be nice. >> >> Have you checked Marc-Andr=C3=A9's work for overlap? Cc'ing him. > > yeah, it's conflicting with my work. Unfortunately, since I have been > asked to wait since a long time, I am no longer on top of things, nor > what I need to wait for. I have the feeling we really want > qmp_dispatch() in monitor.c: > https://github.com/elmarco/qemu/commit/af4158993088ee2bbf9087c440990880d7= 943eb1. > > Eric, I have been waiting for your series to settle for getting back > to qapi, but it keeps growing ;) I hope you are familiar with the work > I did in the branch so we don't duplicate efforts. I'd very much prefer to give precedence to Marc-Andr=C3=A9's solution. I think this patch is in this series just because the previous patch notes a redundancy, and promises its cleanup. What about this: * We shelve this patch for now, and s/a later patch/a future patch/ in the previous patch's commit message. * We continue to flush Eric's QAPI queue. If we come to a point where we really want this patch, we insert it, and apologize to Marc-Andr=C3=A9. But hopefully we come to a point where Marc-Andr=C3=A9's work fits first! We'll refer to this patch when reviewing his solution, to make sure we're not losing anything. Okay?