On 1/3/24 03:04, Philippe Mathieu-Daudé wrote:
To be able to distinct whether a boolean qdev property has been set or not, add the DEFINE_PROP_BOOL_NODEFAULT() qdev macro based on the tri-state OptionalBool QAPI type.Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> --- qapi/common.json | 16 ++++++++++++++++ include/hw/qdev-properties.h | 5 +++++ hw/core/qdev-properties.c | 10 ++++++++++ 3 files changed, 31 insertions(+)
How is this different from OnOffAuto? r~