]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: change 'unsigned special_features' to 'uint64_t features'
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 5 Feb 2025 12:35:48 +0000 (12:35 +0000)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 10 Feb 2025 14:45:04 +0000 (15:45 +0100)
commit696ae1ac91fc50f87838519a0717d74f5816fd50
tree94a6aefebebba9adf33f3031687406816a39543b
parentd8a22e69fec2aa495665ee95af1997651a20ca1f
qapi: change 'unsigned special_features' to 'uint64_t features'

The "special_features" field / parameter holds the subset of schema
features that are for internal code use. Specifically 'DEPRECATED'
and 'UNSTABLE'.

This special casing of internal features is going to be removed, so
prepare for that by renaming to 'features'. Using a fixed size type
is also best practice for bit fields.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250205123550.2754387-3-berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
13 files changed:
include/qapi/compat-policy.h
include/qapi/qmp-registry.h
include/qapi/util.h
include/qapi/visitor-impl.h
include/qapi/visitor.h
qapi/qapi-forward-visitor.c
qapi/qapi-util.c
qapi/qapi-visit-core.c
qapi/qmp-dispatch.c
qapi/qmp-registry.c
qapi/qobject-input-visitor.c
qapi/qobject-output-visitor.c
scripts/qapi/types.py