[Libguestfs] [PATCH v2 4/9] qapi: Tools for sets of special feature flags in generated code

Philippe Mathieu-Daudé philmd at redhat.com
Fri Oct 29 11:33:14 UTC 2021


On 10/28/21 12:25, Markus Armbruster wrote:
> New enum QapiSpecialFeature enumerates the special feature flags.
> 
> New helper gen_special_features() returns code to represent a
> collection of special feature flags as a bitset.
> 
> The next few commits will put them to use.
> 
> Signed-off-by: Markus Armbruster <armbru at redhat.com>
> Reviewed-by: John Snow <jsnow at redhat.com>
> ---
>  include/qapi/util.h    | 4 ++++
>  scripts/qapi/gen.py    | 8 ++++++++
>  scripts/qapi/schema.py | 3 +++
>  3 files changed, 15 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd at redhat.com>




More information about the Libguestfs mailing list