Re: [Qemu-devel] [PATCH v6 10/27] qapi: factor out checking for keys

2018-12-07 Thread Marc-André Lureau
On Wed, Dec 5, 2018 at 8:26 PM Markus Armbruster wrote: > > Marc-André 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-of

Re: [Qemu-devel] [PATCH v6 10/27] qapi: factor out checking for keys

2018-12-05 Thread Markus Armbruster
Marc-André 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é Lureau > --- > scripts/qapi/common.py | 20 ++

[Qemu-devel] [PATCH v6 10/27] qapi: factor out checking for keys

2018-07-06 Thread Marc-André Lureau
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é Lureau --- scripts/qapi/common.py | 20 +--- 1 file changed, 13 insertions