qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 23/24] qapi: Add a script to filter qmp-comma


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v1 23/24] qapi: Add a script to filter qmp-commands-old.h to generate a subset of it.
Date: Tue, 05 Aug 2014 06:51:25 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

On 07/31/2014 11:27 PM, Benoît Canet wrote:
> Since qmp-command-olds.h is generated from qmp-commands.hx we will sometime 
> want
> to include only a subset of it. For example when linking qapi block commands
> with qemu-nbd.
> 
> Signed-off-by: Benoit Canet <address@hidden>
> ---
>  Makefile                           |  7 +++
>  scripts/filter_qmp_commands_old.py | 93 
> ++++++++++++++++++++++++++++++++++++++
>  2 files changed, 100 insertions(+)
>  create mode 100755 scripts/filter_qmp_commands_old.py

> +++ b/scripts/filter_qmp_commands_old.py
> @@ -0,0 +1,93 @@
> +#!/usr/bin/env python
> +#
> +# qmp-commands-old.h filtering
> +#
> +# Copyright (C) 2014 Nodalink, EURL.
> +#
> +# Authors:
> +#  Benoit Canet <address@hidden>
> +#
> +# This work is licensed under the terms of the GNU GPL, version 2.
> +# See the COPYING file in the top-level directory.

Why GPLv2-only?  New files should prefer GPLv2+ (you should add the "or
later" clause).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]