[Libguestfs] [PATCH RFC 2/5] qapi: Add feature flags to enum members

Peter Krempa pkrempa at redhat.com
Fri Sep 17 14:53:07 UTC 2021


On Wed, Sep 15, 2021 at 21:24:22 +0200, Markus Armbruster wrote:
> This is quite similar to commit 84ab008687 "qapi: Add feature flags to
> struct members", only for enums instead of structs.

For now in libvirt I've implemented the validator for the 'deprecated'
flag:

https://gitlab.com/pipo.sk/libvirt/-/commit/1fc69fd78fbca8b93287e368f622abfcf1464b6c

I'm not sure for now whether we'll have a use case for probing
non-deprecation features, but extending the query mechanism in libvirt
will be simple if we'll do need to do that.




More information about the Libguestfs mailing list