From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWIKB-0000Em-N3 for qemu-devel@nongnu.org; Mon, 10 Dec 2018 04:58:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWIK6-0005Tq-PC for qemu-devel@nongnu.org; Mon, 10 Dec 2018 04:58:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32838) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gWIK6-0005TY-Iq for qemu-devel@nongnu.org; Mon, 10 Dec 2018 04:57:58 -0500 From: Markus Armbruster References: <20181208111606.8505-1-marcandre.lureau@redhat.com> <20181208111606.8505-7-marcandre.lureau@redhat.com> Date: Mon, 10 Dec 2018 10:57:50 +0100 In-Reply-To: <20181208111606.8505-7-marcandre.lureau@redhat.com> (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Sat, 8 Dec 2018 15:15:45 +0400") Message-ID: <871s6pln4x.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 for-4.0 v7 06/27] qapi: factor out checking for keys List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: qemu-devel@nongnu.org, Michael Roth Marc-Andr=C3=A9 Lureau writes: > Introduce a new helper function to check if the given keys are known, > and if mandatory keys are present. The function will be reused in > other places in the following code changes. > > Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Markus Armbruster