qemu-devel
[Top][All Lists]
Advanced

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

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


From: Peter Krempa
Subject: Re: [PATCH RFC 2/5] qapi: Add feature flags to enum members
Date: Fri, 17 Sep 2021 16:53:07 +0200
User-agent: Mutt/2.0.7 (2021-05-04)

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.




reply via email to

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