qapi: add 'not' condition operation
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 4 Aug 2021 08:31:04 +0000 (12:31 +0400)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 26 Aug 2021 11:53:56 +0000 (13:53 +0200)
commit2b7d2145369f2ca55ded9045393bb860ee3f6745
treebd4bb8b19ac3c6986202674717fefbef813c67a2
parent8a156d89d15ec190ff519e7ecaaa0b85e1ff4a7b
qapi: add 'not' condition operation

For the sake of completeness, introduce the 'not' condition.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210804083105.97531-10-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Long line broken in tests/qapi-schema/qapi-schema-test.json]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi/common.py
scripts/qapi/expr.py
tests/qapi-schema/bad-if-key.err
tests/qapi-schema/bad-if-keys.err
tests/qapi-schema/doc-good.json
tests/qapi-schema/doc-good.out
tests/qapi-schema/doc-good.txt
tests/qapi-schema/enum-if-invalid.err
tests/qapi-schema/qapi-schema-test.json
tests/qapi-schema/qapi-schema-test.out