QAPI file renames
Subsystems (2)
v2 cover QAPI file renames
v1 was here:
https://lists.gnu.org/archive/html/qemu-devel/2018-02/msg02877.html
Since then: rebase to master, drop patch that has already been incorporated
Eric Blake (2):
qapi: Rename QMP and QGA schema files
qapi: Rename .json to .qapi
docs/devel/blkdebug.txt | 2 +-
docs/devel/qapi-code-gen.txt | 6 +-
docs/devel/testing.rst | 4 +-
docs/devel/writing-qmp-commands.txt | 6 +-
docs/interop/live-block-operations.rst | 4 +-
docs/interop/qmp-intro.txt | 6 +-
Makefile | 40 +--
qapi/{block-core.json => block-core.qapi} | 6 +-
qapi/{block.json => block.qapi} | 2 +-
qapi/{char.json => char.qapi} | 2 +-
qapi/{common.json => common.qapi} | 0
qapi/{crypto.json => crypto.qapi} | 0
qapi/{introspect.json => introspect.qapi} | 0
qapi/{migration.json => migration.qapi} | 2 +-
qapi/{misc.json => misc.qapi} | 0
qapi/{net.json => net.qapi} | 2 +-
qga/qapi-schema.json => qapi/qga-schema.qapi | 0
qapi/{qapi-schema.json => qmp-schema.qapi} | 30 +-
qapi/{rocker.json => rocker.qapi} | 0
qapi/{run-state.json => run-state.qapi} | 0
qapi/{sockets.json => sockets.qapi} | 2 +-
qapi/{tpm.json => tpm.qapi} | 0
qapi/{trace.json => trace.qapi} | 0
qapi/{transaction.json => transaction.qapi} | 2 +-
qapi/{ui.json => ui.qapi} | 2 +-
include/crypto/block.h | 2 +-
include/crypto/cipher.h | 2 +-
include/crypto/hash.h | 2 +-
include/crypto/ivgen.h | 2 +-
MAINTAINERS | 26 +-
scripts/git.orderfile | 2 +-
tests/Makefile.include | 336 ++++++++++-----------
tests/qapi-schema/alternate-any.err | 2 +-
.../{alternate-any.json => alternate-any.qapi} | 0
tests/qapi-schema/alternate-array.err | 2 +-
.../{alternate-array.json => alternate-array.qapi} | 0
tests/qapi-schema/alternate-base.err | 2 +-
.../{alternate-base.json => alternate-base.qapi} | 0
tests/qapi-schema/alternate-clash.err | 2 +-
.../{alternate-clash.json => alternate-clash.qapi} | 0
.../qapi-schema/alternate-conflict-bool-string.err | 2 +-
...ng.json => alternate-conflict-bool-string.qapi} | 0
tests/qapi-schema/alternate-conflict-dict.err | 2 +-
...lict-dict.json => alternate-conflict-dict.qapi} | 0
tests/qapi-schema/alternate-conflict-enum-bool.err | 2 +-
...bool.json => alternate-conflict-enum-bool.qapi} | 0
tests/qapi-schema/alternate-conflict-enum-int.err | 2 +-
...m-int.json => alternate-conflict-enum-int.qapi} | 0
.../qapi-schema/alternate-conflict-num-string.err | 2 +-
...ing.json => alternate-conflict-num-string.qapi} | 0
tests/qapi-schema/alternate-conflict-string.err | 2 +-
...-string.json => alternate-conflict-string.qapi} | 0
tests/qapi-schema/alternate-empty.err | 2 +-
.../{alternate-empty.json => alternate-empty.qapi} | 0
tests/qapi-schema/alternate-nested.err | 2 +-
...alternate-nested.json => alternate-nested.qapi} | 0
tests/qapi-schema/alternate-unknown.err | 2 +-
...ternate-unknown.json => alternate-unknown.qapi} | 0
tests/qapi-schema/args-alternate.err | 2 +-
.../{args-alternate.json => args-alternate.qapi} | 0
tests/qapi-schema/args-any.err | 2 +-
tests/qapi-schema/{args-any.json => args-any.qapi} | 0
tests/qapi-schema/args-array-empty.err | 2 +-
...args-array-empty.json => args-array-empty.qapi} | 0
tests/qapi-schema/args-array-unknown.err | 2 +-
...-array-unknown.json => args-array-unknown.qapi} | 0
tests/qapi-schema/args-bad-boxed.err | 2 +-
.../{args-bad-boxed.json => args-bad-boxed.qapi} | 0
tests/qapi-schema/args-boxed-anon.err | 2 +-
.../{args-boxed-anon.json => args-boxed-anon.qapi} | 0
tests/qapi-schema/args-boxed-empty.err | 2 +-
...args-boxed-empty.json => args-boxed-empty.qapi} | 0
tests/qapi-schema/args-boxed-string.err | 2 +-
...gs-boxed-string.json => args-boxed-string.qapi} | 0
tests/qapi-schema/args-int.err | 2 +-
tests/qapi-schema/{args-int.json => args-int.qapi} | 0
tests/qapi-schema/args-invalid.err | 2 +-
.../{args-invalid.json => args-invalid.qapi} | 0
tests/qapi-schema/args-member-array-bad.err | 2 +-
...r-array-bad.json => args-member-array-bad.qapi} | 0
tests/qapi-schema/args-member-case.err | 2 +-
...args-member-case.json => args-member-case.qapi} | 0
tests/qapi-schema/args-member-unknown.err | 2 +-
...ember-unknown.json => args-member-unknown.qapi} | 0
tests/qapi-schema/args-name-clash.err | 2 +-
.../{args-name-clash.json => args-name-clash.qapi} | 0
tests/qapi-schema/args-union.err | 2 +-
.../{args-union.json => args-union.qapi} | 0
tests/qapi-schema/args-unknown.err | 2 +-
.../{args-unknown.json => args-unknown.qapi} | 0
tests/qapi-schema/bad-base.err | 2 +-
tests/qapi-schema/{bad-base.json => bad-base.qapi} | 0
tests/qapi-schema/bad-data.err | 2 +-
tests/qapi-schema/{bad-data.json => bad-data.qapi} | 0
tests/qapi-schema/bad-ident.err | 2 +-
.../qapi-schema/{bad-ident.json => bad-ident.qapi} | 0
tests/qapi-schema/bad-type-bool.err | 2 +-
.../{bad-type-bool.json => bad-type-bool.qapi} | 0
tests/qapi-schema/bad-type-dict.err | 2 +-
.../{bad-type-dict.json => bad-type-dict.qapi} | 0
tests/qapi-schema/bad-type-int.err | 2 +-
.../{bad-type-int.json => bad-type-int.qapi} | 0
tests/qapi-schema/base-cycle-direct.err | 2 +-
...se-cycle-direct.json => base-cycle-direct.qapi} | 0
tests/qapi-schema/base-cycle-indirect.err | 2 +-
...ycle-indirect.json => base-cycle-indirect.qapi} | 0
tests/qapi-schema/command-int.err | 2 +-
.../{command-int.json => command-int.qapi} | 0
tests/qapi-schema/comments.out | 2 +-
tests/qapi-schema/{comments.json => comments.qapi} | 0
tests/qapi-schema/doc-bad-alternate-member.err | 2 +-
...e-member.json => doc-bad-alternate-member.qapi} | 0
tests/qapi-schema/doc-bad-command-arg.err | 2 +-
...d-command-arg.json => doc-bad-command-arg.qapi} | 0
tests/qapi-schema/doc-bad-section.out | 2 +-
.../{doc-bad-section.json => doc-bad-section.qapi} | 0
tests/qapi-schema/doc-bad-symbol.err | 2 +-
.../{doc-bad-symbol.json => doc-bad-symbol.qapi} | 0
tests/qapi-schema/doc-bad-union-member.err | 2 +-
...union-member.json => doc-bad-union-member.qapi} | 0
tests/qapi-schema/doc-before-include.err | 2 +-
...before-include.json => doc-before-include.qapi} | 2 +-
tests/qapi-schema/doc-before-pragma.err | 2 +-
...c-before-pragma.json => doc-before-pragma.qapi} | 0
tests/qapi-schema/doc-duplicated-arg.err | 2 +-
...duplicated-arg.json => doc-duplicated-arg.qapi} | 0
tests/qapi-schema/doc-duplicated-return.err | 2 +-
...ated-return.json => doc-duplicated-return.qapi} | 0
tests/qapi-schema/doc-duplicated-since.err | 2 +-
...icated-since.json => doc-duplicated-since.qapi} | 0
tests/qapi-schema/doc-empty-arg.err | 2 +-
.../{doc-empty-arg.json => doc-empty-arg.qapi} | 0
tests/qapi-schema/doc-empty-section.err | 2 +-
...c-empty-section.json => doc-empty-section.qapi} | 0
tests/qapi-schema/doc-empty-symbol.err | 2 +-
...doc-empty-symbol.json => doc-empty-symbol.qapi} | 0
tests/qapi-schema/doc-good.out | 2 +-
tests/qapi-schema/{doc-good.json => doc-good.qapi} | 0
tests/qapi-schema/doc-interleaved-section.err | 2 +-
...d-section.json => doc-interleaved-section.qapi} | 0
tests/qapi-schema/doc-invalid-end.err | 2 +-
.../{doc-invalid-end.json => doc-invalid-end.qapi} | 0
tests/qapi-schema/doc-invalid-end2.err | 2 +-
...doc-invalid-end2.json => doc-invalid-end2.qapi} | 0
tests/qapi-schema/doc-invalid-return.err | 2 +-
...invalid-return.json => doc-invalid-return.qapi} | 0
tests/qapi-schema/doc-invalid-section.err | 2 +-
...valid-section.json => doc-invalid-section.qapi} | 0
tests/qapi-schema/doc-invalid-start.err | 2 +-
...c-invalid-start.json => doc-invalid-start.qapi} | 0
tests/qapi-schema/doc-missing-colon.err | 2 +-
...c-missing-colon.json => doc-missing-colon.qapi} | 0
tests/qapi-schema/doc-missing-expr.err | 2 +-
...doc-missing-expr.json => doc-missing-expr.qapi} | 0
tests/qapi-schema/doc-missing-space.err | 2 +-
...c-missing-space.json => doc-missing-space.qapi} | 0
tests/qapi-schema/doc-missing.err | 2 +-
.../{doc-missing.json => doc-missing.qapi} | 0
tests/qapi-schema/doc-no-symbol.err | 2 +-
.../{doc-no-symbol.json => doc-no-symbol.qapi} | 0
tests/qapi-schema/double-data.err | 2 +-
.../{double-data.json => double-data.qapi} | 0
tests/qapi-schema/double-type.err | 2 +-
.../{double-type.json => double-type.qapi} | 0
tests/qapi-schema/duplicate-key.err | 2 +-
.../{duplicate-key.json => duplicate-key.qapi} | 0
tests/qapi-schema/{empty.json => empty.qapi} | 0
tests/qapi-schema/enum-bad-name.err | 2 +-
.../{enum-bad-name.json => enum-bad-name.qapi} | 0
tests/qapi-schema/enum-bad-prefix.err | 2 +-
.../{enum-bad-prefix.json => enum-bad-prefix.qapi} | 0
tests/qapi-schema/enum-clash-member.err | 2 +-
...um-clash-member.json => enum-clash-member.qapi} | 0
tests/qapi-schema/enum-dict-member.err | 2 +-
...enum-dict-member.json => enum-dict-member.qapi} | 0
tests/qapi-schema/enum-int-member.err | 2 +-
.../{enum-int-member.json => enum-int-member.qapi} | 0
tests/qapi-schema/enum-member-case.err | 2 +-
...enum-member-case.json => enum-member-case.qapi} | 0
tests/qapi-schema/enum-missing-data.err | 2 +-
...um-missing-data.json => enum-missing-data.qapi} | 0
tests/qapi-schema/enum-wrong-data.err | 2 +-
.../{enum-wrong-data.json => enum-wrong-data.qapi} | 0
tests/qapi-schema/escape-outside-string.err | 2 +-
...side-string.json => escape-outside-string.qapi} | 0
tests/qapi-schema/escape-too-big.err | 2 +-
.../{escape-too-big.json => escape-too-big.qapi} | 0
tests/qapi-schema/escape-too-short.err | 2 +-
...escape-too-short.json => escape-too-short.qapi} | 0
tests/qapi-schema/event-boxed-empty.err | 2 +-
...ent-boxed-empty.json => event-boxed-empty.qapi} | 0
tests/qapi-schema/event-case.out | 2 +-
.../{event-case.json => event-case.qapi} | 0
tests/qapi-schema/event-nest-struct.err | 2 +-
...ent-nest-struct.json => event-nest-struct.qapi} | 0
tests/qapi-schema/flat-union-array-branch.err | 2 +-
...ay-branch.json => flat-union-array-branch.qapi} | 0
tests/qapi-schema/flat-union-bad-base.err | 2 +-
...nion-bad-base.json => flat-union-bad-base.qapi} | 0
tests/qapi-schema/flat-union-bad-discriminator.err | 2 +-
...ator.json => flat-union-bad-discriminator.qapi} | 0
tests/qapi-schema/flat-union-base-any.err | 2 +-
...nion-base-any.json => flat-union-base-any.qapi} | 0
tests/qapi-schema/flat-union-base-union.err | 2 +-
...-base-union.json => flat-union-base-union.qapi} | 0
tests/qapi-schema/flat-union-clash-member.err | 2 +-
...sh-member.json => flat-union-clash-member.qapi} | 0
tests/qapi-schema/flat-union-empty.err | 2 +-
...flat-union-empty.json => flat-union-empty.qapi} | 0
tests/qapi-schema/flat-union-incomplete-branch.err | 2 +-
...anch.json => flat-union-incomplete-branch.qapi} | 0
tests/qapi-schema/flat-union-inline.err | 2 +-
...at-union-inline.json => flat-union-inline.qapi} | 0
tests/qapi-schema/flat-union-int-branch.err | 2 +-
...-int-branch.json => flat-union-int-branch.qapi} | 0
.../qapi-schema/flat-union-invalid-branch-key.err | 2 +-
...key.json => flat-union-invalid-branch-key.qapi} | 0
.../flat-union-invalid-discriminator.err | 2 +-
....json => flat-union-invalid-discriminator.qapi} | 0
tests/qapi-schema/flat-union-no-base.err | 2 +-
...-union-no-base.json => flat-union-no-base.qapi} | 0
.../flat-union-optional-discriminator.err | 2 +-
...json => flat-union-optional-discriminator.qapi} | 0
.../flat-union-string-discriminator.err | 2 +-
...r.json => flat-union-string-discriminator.qapi} | 0
tests/qapi-schema/funny-char.err | 2 +-
.../{funny-char.json => funny-char.qapi} | 0
tests/qapi-schema/ident-with-escape.out | 2 +-
...ent-with-escape.json => ident-with-escape.qapi} | 0
tests/qapi-schema/include-before-err.err | 2 +-
tests/qapi-schema/include-before-err.json | 2 -
tests/qapi-schema/include-before-err.qapi | 2 +
tests/qapi-schema/include-cycle-b.json | 1 -
tests/qapi-schema/include-cycle-b.qapi | 1 +
tests/qapi-schema/include-cycle-c.json | 1 -
tests/qapi-schema/include-cycle-c.qapi | 1 +
tests/qapi-schema/include-cycle.err | 6 +-
tests/qapi-schema/include-cycle.json | 1 -
tests/qapi-schema/include-cycle.qapi | 1 +
tests/qapi-schema/include-extra-junk.err | 2 +-
tests/qapi-schema/include-extra-junk.json | 3 -
tests/qapi-schema/include-extra-junk.qapi | 3 +
tests/qapi-schema/include-format-err.err | 2 +-
tests/qapi-schema/include-format-err.json | 2 -
tests/qapi-schema/include-format-err.qapi | 2 +
tests/qapi-schema/include-nested-err.err | 4 +-
tests/qapi-schema/include-nested-err.json | 1 -
tests/qapi-schema/include-nested-err.qapi | 1 +
tests/qapi-schema/include-no-file.err | 2 +-
tests/qapi-schema/include-no-file.json | 1 -
tests/qapi-schema/include-no-file.qapi | 1 +
tests/qapi-schema/include-non-file.err | 2 +-
...include-non-file.json => include-non-file.qapi} | 0
...e-relpath-sub.json => include-relpath-sub.qapi} | 0
tests/qapi-schema/include-relpath.json | 1 -
tests/qapi-schema/include-relpath.out | 10 +-
tests/qapi-schema/include-relpath.qapi | 1 +
tests/qapi-schema/include-repetition-sub.json | 2 -
tests/qapi-schema/include-repetition-sub.qapi | 2 +
tests/qapi-schema/include-repetition.json | 3 -
tests/qapi-schema/include-repetition.out | 20 +-
tests/qapi-schema/include-repetition.qapi | 3 +
tests/qapi-schema/include-self-cycle.err | 2 +-
tests/qapi-schema/include-self-cycle.json | 1 -
tests/qapi-schema/include-self-cycle.qapi | 1 +
...ude-simple-sub.json => include-simple-sub.qapi} | 0
tests/qapi-schema/include-simple.json | 1 -
tests/qapi-schema/include-simple.out | 6 +-
tests/qapi-schema/include-simple.qapi | 1 +
tests/qapi-schema/include/relpath.json | 1 -
tests/qapi-schema/include/relpath.qapi | 1 +
tests/qapi-schema/indented-expr.out | 2 +-
.../{indented-expr.json => indented-expr.qapi} | 0
tests/qapi-schema/leading-comma-list.err | 2 +-
...ing-comma-list.json => leading-comma-list.qapi} | 0
tests/qapi-schema/leading-comma-object.err | 2 +-
...comma-object.json => leading-comma-object.qapi} | 0
tests/qapi-schema/missing-colon.err | 2 +-
.../{missing-colon.json => missing-colon.qapi} | 0
tests/qapi-schema/missing-comma-list.err | 2 +-
...ing-comma-list.json => missing-comma-list.qapi} | 0
tests/qapi-schema/missing-comma-object.err | 2 +-
...comma-object.json => missing-comma-object.qapi} | 0
tests/qapi-schema/missing-type.err | 2 +-
.../{missing-type.json => missing-type.qapi} | 0
tests/qapi-schema/nested-struct-data.err | 2 +-
...ed-struct-data.json => nested-struct-data.qapi} | 0
tests/qapi-schema/non-objects.err | 2 +-
.../{non-objects.json => non-objects.qapi} | 0
tests/qapi-schema/oob-test.err | 2 +-
tests/qapi-schema/{oob-test.json => oob-test.qapi} | 0
tests/qapi-schema/pragma-doc-required-crap.err | 2 +-
...red-crap.json => pragma-doc-required-crap.qapi} | 0
tests/qapi-schema/pragma-extra-junk.err | 2 +-
...agma-extra-junk.json => pragma-extra-junk.qapi} | 0
.../pragma-name-case-whitelist-crap.err | 2 +-
...p.json => pragma-name-case-whitelist-crap.qapi} | 0
tests/qapi-schema/pragma-non-dict.err | 2 +-
.../{pragma-non-dict.json => pragma-non-dict.qapi} | 0
.../qapi-schema/pragma-returns-whitelist-crap.err | 2 +-
...rap.json => pragma-returns-whitelist-crap.qapi} | 0
tests/qapi-schema/qapi-schema-test.out | 2 +-
...qapi-schema-test.json => qapi-schema-test.qapi} | 0
tests/qapi-schema/quoted-structural-chars.err | 2 +-
...ral-chars.json => quoted-structural-chars.qapi} | 0
tests/qapi-schema/redefined-builtin.err | 2 +-
...defined-builtin.json => redefined-builtin.qapi} | 0
tests/qapi-schema/redefined-command.err | 2 +-
...defined-command.json => redefined-command.qapi} | 0
tests/qapi-schema/redefined-event.err | 2 +-
.../{redefined-event.json => redefined-event.qapi} | 0
tests/qapi-schema/redefined-type.err | 2 +-
.../{redefined-type.json => redefined-type.qapi} | 0
tests/qapi-schema/reserved-command-q.err | 2 +-
...rved-command-q.json => reserved-command-q.qapi} | 0
tests/qapi-schema/reserved-enum-q.err | 2 +-
.../{reserved-enum-q.json => reserved-enum-q.qapi} | 0
tests/qapi-schema/reserved-member-has.err | 2 +-
...ed-member-has.json => reserved-member-has.qapi} | 0
tests/qapi-schema/reserved-member-q.err | 2 +-
...served-member-q.json => reserved-member-q.qapi} | 0
tests/qapi-schema/reserved-member-u.err | 2 +-
...served-member-u.json => reserved-member-u.qapi} | 0
tests/qapi-schema/reserved-member-underscore.err | 2 +-
...rscore.json => reserved-member-underscore.qapi} | 0
tests/qapi-schema/reserved-type-kind.err | 2 +-
...rved-type-kind.json => reserved-type-kind.qapi} | 0
tests/qapi-schema/reserved-type-list.err | 2 +-
...rved-type-list.json => reserved-type-list.qapi} | 0
tests/qapi-schema/returns-alternate.err | 2 +-
...turns-alternate.json => returns-alternate.qapi} | 0
tests/qapi-schema/returns-array-bad.err | 2 +-
...turns-array-bad.json => returns-array-bad.qapi} | 0
tests/qapi-schema/returns-dict.err | 2 +-
.../{returns-dict.json => returns-dict.qapi} | 0
tests/qapi-schema/returns-unknown.err | 2 +-
.../{returns-unknown.json => returns-unknown.qapi} | 0
tests/qapi-schema/returns-whitelist.err | 2 +-
...turns-whitelist.json => returns-whitelist.qapi} | 0
tests/qapi-schema/struct-base-clash-deep.err | 2 +-
...clash-deep.json => struct-base-clash-deep.qapi} | 0
tests/qapi-schema/struct-base-clash.err | 2 +-
...ruct-base-clash.json => struct-base-clash.qapi} | 0
tests/qapi-schema/struct-data-invalid.err | 2 +-
...-data-invalid.json => struct-data-invalid.qapi} | 0
tests/qapi-schema/struct-member-invalid.err | 2 +-
...ber-invalid.json => struct-member-invalid.qapi} | 0
tests/qapi-schema/trailing-comma-list.err | 2 +-
...ng-comma-list.json => trailing-comma-list.qapi} | 0
tests/qapi-schema/trailing-comma-object.err | 2 +-
...omma-object.json => trailing-comma-object.qapi} | 0
tests/qapi-schema/type-bypass-bad-gen.err | 2 +-
...ypass-bad-gen.json => type-bypass-bad-gen.qapi} | 0
tests/qapi-schema/unclosed-list.err | 2 +-
.../{unclosed-list.json => unclosed-list.qapi} | 0
tests/qapi-schema/unclosed-object.err | 2 +-
.../{unclosed-object.json => unclosed-object.qapi} | 0
tests/qapi-schema/unclosed-string.err | 2 +-
.../{unclosed-string.json => unclosed-string.qapi} | 0
tests/qapi-schema/unicode-str.err | 2 +-
.../{unicode-str.json => unicode-str.qapi} | 0
tests/qapi-schema/union-base-empty.err | 2 +-
...union-base-empty.json => union-base-empty.qapi} | 0
tests/qapi-schema/union-base-no-discriminator.err | 2 +-
...nator.json => union-base-no-discriminator.qapi} | 0
tests/qapi-schema/union-branch-case.err | 2 +-
...ion-branch-case.json => union-branch-case.qapi} | 0
tests/qapi-schema/union-clash-branches.err | 2 +-
...ash-branches.json => union-clash-branches.qapi} | 0
tests/qapi-schema/union-empty.err | 2 +-
.../{union-empty.json => union-empty.qapi} | 0
tests/qapi-schema/union-invalid-base.err | 2 +-
...n-invalid-base.json => union-invalid-base.qapi} | 0
tests/qapi-schema/union-optional-branch.err | 2 +-
...onal-branch.json => union-optional-branch.qapi} | 0
tests/qapi-schema/union-unknown.err | 2 +-
.../{union-unknown.json => union-unknown.qapi} | 0
tests/qapi-schema/unknown-escape.err | 2 +-
.../{unknown-escape.json => unknown-escape.qapi} | 0
tests/qapi-schema/unknown-expr-key.err | 2 +-
...unknown-expr-key.json => unknown-expr-key.qapi} | 0
381 files changed, 449 insertions(+), 449 deletions(-)
rename qapi/{block-core.json => block-core.qapi} (99%)
rename qapi/{block.json => block.qapi} (99%)
rename qapi/{char.json => char.qapi} (99%)
rename qapi/{common.json => common.qapi} (100%)
rename qapi/{crypto.json => crypto.qapi} (100%)
rename qapi/{introspect.json => introspect.qapi} (100%)
rename qapi/{migration.json => migration.qapi} (99%)
rename qapi/{misc.json => misc.qapi} (100%)
rename qapi/{net.json => net.qapi} (99%)
rename qga/qapi-schema.json => qapi/qga-schema.qapi (100%)
rename qapi/{qapi-schema.json => qmp-schema.qapi} (88%)
rename qapi/{rocker.json => rocker.qapi} (100%)
rename qapi/{run-state.json => run-state.qapi} (100%)
rename qapi/{sockets.json => sockets.qapi} (99%)
rename qapi/{tpm.json => tpm.qapi} (100%)
rename qapi/{trace.json => trace.qapi} (100%)
rename qapi/{transaction.json => transaction.qapi} (99%)
rename qapi/{ui.json => ui.qapi} (99%)
rename tests/qapi-schema/{alternate-any.json => alternate-any.qapi} (100%)
rename tests/qapi-schema/{alternate-array.json => alternate-array.qapi} (100%)
rename tests/qapi-schema/{alternate-base.json => alternate-base.qapi} (100%)
rename tests/qapi-schema/{alternate-clash.json => alternate-clash.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-bool-string.json => alternate-conflict-bool-string.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-dict.json => alternate-conflict-dict.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-enum-bool.json => alternate-conflict-enum-bool.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-enum-int.json => alternate-conflict-enum-int.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-num-string.json => alternate-conflict-num-string.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-string.json => alternate-conflict-string.qapi} (100%)
rename tests/qapi-schema/{alternate-empty.json => alternate-empty.qapi} (100%)
rename tests/qapi-schema/{alternate-nested.json => alternate-nested.qapi} (100%)
rename tests/qapi-schema/{alternate-unknown.json => alternate-unknown.qapi} (100%)
rename tests/qapi-schema/{args-alternate.json => args-alternate.qapi} (100%)
rename tests/qapi-schema/{args-any.json => args-any.qapi} (100%)
rename tests/qapi-schema/{args-array-empty.json => args-array-empty.qapi} (100%)
rename tests/qapi-schema/{args-array-unknown.json => args-array-unknown.qapi} (100%)
rename tests/qapi-schema/{args-bad-boxed.json => args-bad-boxed.qapi} (100%)
rename tests/qapi-schema/{args-boxed-anon.json => args-boxed-anon.qapi} (100%)
rename tests/qapi-schema/{args-boxed-empty.json => args-boxed-empty.qapi} (100%)
rename tests/qapi-schema/{args-boxed-string.json => args-boxed-string.qapi} (100%)
rename tests/qapi-schema/{args-int.json => args-int.qapi} (100%)
rename tests/qapi-schema/{args-invalid.json => args-invalid.qapi} (100%)
rename tests/qapi-schema/{args-member-array-bad.json => args-member-array-bad.qapi} (100%)
rename tests/qapi-schema/{args-member-case.json => args-member-case.qapi} (100%)
rename tests/qapi-schema/{args-member-unknown.json => args-member-unknown.qapi} (100%)
rename tests/qapi-schema/{args-name-clash.json => args-name-clash.qapi} (100%)
rename tests/qapi-schema/{args-union.json => args-union.qapi} (100%)
rename tests/qapi-schema/{args-unknown.json => args-unknown.qapi} (100%)
rename tests/qapi-schema/{bad-base.json => bad-base.qapi} (100%)
rename tests/qapi-schema/{bad-data.json => bad-data.qapi} (100%)
rename tests/qapi-schema/{bad-ident.json => bad-ident.qapi} (100%)
rename tests/qapi-schema/{bad-type-bool.json => bad-type-bool.qapi} (100%)
rename tests/qapi-schema/{bad-type-dict.json => bad-type-dict.qapi} (100%)
rename tests/qapi-schema/{bad-type-int.json => bad-type-int.qapi} (100%)
rename tests/qapi-schema/{base-cycle-direct.json => base-cycle-direct.qapi} (100%)
rename tests/qapi-schema/{base-cycle-indirect.json => base-cycle-indirect.qapi} (100%)
rename tests/qapi-schema/{command-int.json => command-int.qapi} (100%)
rename tests/qapi-schema/{comments.json => comments.qapi} (100%)
rename tests/qapi-schema/{doc-bad-alternate-member.json => doc-bad-alternate-member.qapi} (100%)
rename tests/qapi-schema/{doc-bad-command-arg.json => doc-bad-command-arg.qapi} (100%)
rename tests/qapi-schema/{doc-bad-section.json => doc-bad-section.qapi} (100%)
rename tests/qapi-schema/{doc-bad-symbol.json => doc-bad-symbol.qapi} (100%)
rename tests/qapi-schema/{doc-bad-union-member.json => doc-bad-union-member.qapi} (100%)
rename tests/qapi-schema/{doc-before-include.json => doc-before-include.qapi} (81%)
rename tests/qapi-schema/{doc-before-pragma.json => doc-before-pragma.qapi} (100%)
rename tests/qapi-schema/{doc-duplicated-arg.json => doc-duplicated-arg.qapi} (100%)
rename tests/qapi-schema/{doc-duplicated-return.json => doc-duplicated-return.qapi} (100%)
rename tests/qapi-schema/{doc-duplicated-since.json => doc-duplicated-since.qapi} (100%)
rename tests/qapi-schema/{doc-empty-arg.json => doc-empty-arg.qapi} (100%)
rename tests/qapi-schema/{doc-empty-section.json => doc-empty-section.qapi} (100%)
rename tests/qapi-schema/{doc-empty-symbol.json => doc-empty-symbol.qapi} (100%)
rename tests/qapi-schema/{doc-good.json => doc-good.qapi} (100%)
rename tests/qapi-schema/{doc-interleaved-section.json => doc-interleaved-section.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-end.json => doc-invalid-end.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-end2.json => doc-invalid-end2.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-return.json => doc-invalid-return.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-section.json => doc-invalid-section.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-start.json => doc-invalid-start.qapi} (100%)
rename tests/qapi-schema/{doc-missing-colon.json => doc-missing-colon.qapi} (100%)
rename tests/qapi-schema/{doc-missing-expr.json => doc-missing-expr.qapi} (100%)
rename tests/qapi-schema/{doc-missing-space.json => doc-missing-space.qapi} (100%)
rename tests/qapi-schema/{doc-missing.json => doc-missing.qapi} (100%)
rename tests/qapi-schema/{doc-no-symbol.json => doc-no-symbol.qapi} (100%)
rename tests/qapi-schema/{double-data.json => double-data.qapi} (100%)
rename tests/qapi-schema/{double-type.json => double-type.qapi} (100%)
rename tests/qapi-schema/{duplicate-key.json => duplicate-key.qapi} (100%)
rename tests/qapi-schema/{empty.json => empty.qapi} (100%)
rename tests/qapi-schema/{enum-bad-name.json => enum-bad-name.qapi} (100%)
rename tests/qapi-schema/{enum-bad-prefix.json => enum-bad-prefix.qapi} (100%)
rename tests/qapi-schema/{enum-clash-member.json => enum-clash-member.qapi} (100%)
rename tests/qapi-schema/{enum-dict-member.json => enum-dict-member.qapi} (100%)
rename tests/qapi-schema/{enum-int-member.json => enum-int-member.qapi} (100%)
rename tests/qapi-schema/{enum-member-case.json => enum-member-case.qapi} (100%)
rename tests/qapi-schema/{enum-missing-data.json => enum-missing-data.qapi} (100%)
rename tests/qapi-schema/{enum-wrong-data.json => enum-wrong-data.qapi} (100%)
rename tests/qapi-schema/{escape-outside-string.json => escape-outside-string.qapi} (100%)
rename tests/qapi-schema/{escape-too-big.json => escape-too-big.qapi} (100%)
rename tests/qapi-schema/{escape-too-short.json => escape-too-short.qapi} (100%)
rename tests/qapi-schema/{event-boxed-empty.json => event-boxed-empty.qapi} (100%)
rename tests/qapi-schema/{event-case.json => event-case.qapi} (100%)
rename tests/qapi-schema/{event-nest-struct.json => event-nest-struct.qapi} (100%)
rename tests/qapi-schema/{flat-union-array-branch.json => flat-union-array-branch.qapi} (100%)
rename tests/qapi-schema/{flat-union-bad-base.json => flat-union-bad-base.qapi} (100%)
rename tests/qapi-schema/{flat-union-bad-discriminator.json => flat-union-bad-discriminator.qapi} (100%)
rename tests/qapi-schema/{flat-union-base-any.json => flat-union-base-any.qapi} (100%)
rename tests/qapi-schema/{flat-union-base-union.json => flat-union-base-union.qapi} (100%)
rename tests/qapi-schema/{flat-union-clash-member.json => flat-union-clash-member.qapi} (100%)
rename tests/qapi-schema/{flat-union-empty.json => flat-union-empty.qapi} (100%)
rename tests/qapi-schema/{flat-union-incomplete-branch.json => flat-union-incomplete-branch.qapi} (100%)
rename tests/qapi-schema/{flat-union-inline.json => flat-union-inline.qapi} (100%)
rename tests/qapi-schema/{flat-union-int-branch.json => flat-union-int-branch.qapi} (100%)
rename tests/qapi-schema/{flat-union-invalid-branch-key.json => flat-union-invalid-branch-key.qapi} (100%)
rename tests/qapi-schema/{flat-union-invalid-discriminator.json => flat-union-invalid-discriminator.qapi} (100%)
rename tests/qapi-schema/{flat-union-no-base.json => flat-union-no-base.qapi} (100%)
rename tests/qapi-schema/{flat-union-optional-discriminator.json => flat-union-optional-discriminator.qapi} (100%)
rename tests/qapi-schema/{flat-union-string-discriminator.json => flat-union-string-discriminator.qapi} (100%)
rename tests/qapi-schema/{funny-char.json => funny-char.qapi} (100%)
rename tests/qapi-schema/{ident-with-escape.json => ident-with-escape.qapi} (100%)
delete mode 100644 tests/qapi-schema/include-before-err.json
create mode 100644 tests/qapi-schema/include-before-err.qapi
delete mode 100644 tests/qapi-schema/include-cycle-b.json
create mode 100644 tests/qapi-schema/include-cycle-b.qapi
delete mode 100644 tests/qapi-schema/include-cycle-c.json
create mode 100644 tests/qapi-schema/include-cycle-c.qapi
delete mode 100644 tests/qapi-schema/include-cycle.json
create mode 100644 tests/qapi-schema/include-cycle.qapi
delete mode 100644 tests/qapi-schema/include-extra-junk.json
create mode 100644 tests/qapi-schema/include-extra-junk.qapi
delete mode 100644 tests/qapi-schema/include-format-err.json
create mode 100644 tests/qapi-schema/include-format-err.qapi
delete mode 100644 tests/qapi-schema/include-nested-err.json
create mode 100644 tests/qapi-schema/include-nested-err.qapi
delete mode 100644 tests/qapi-schema/include-no-file.json
create mode 100644 tests/qapi-schema/include-no-file.qapi
rename tests/qapi-schema/{include-non-file.json => include-non-file.qapi} (100%)
rename tests/qapi-schema/{include-relpath-sub.json => include-relpath-sub.qapi} (100%)
delete mode 100644 tests/qapi-schema/include-relpath.json
create mode 100644 tests/qapi-schema/include-relpath.qapi
delete mode 100644 tests/qapi-schema/include-repetition-sub.json
create mode 100644 tests/qapi-schema/include-repetition-sub.qapi
delete mode 100644 tests/qapi-schema/include-repetition.json
create mode 100644 tests/qapi-schema/include-repetition.qapi
delete mode 100644 tests/qapi-schema/include-self-cycle.json
create mode 100644 tests/qapi-schema/include-self-cycle.qapi
rename tests/qapi-schema/{include-simple-sub.json => include-simple-sub.qapi} (100%)
delete mode 100644 tests/qapi-schema/include-simple.json
create mode 100644 tests/qapi-schema/include-simple.qapi
delete mode 100644 tests/qapi-schema/include/relpath.json
create mode 100644 tests/qapi-schema/include/relpath.qapi
rename tests/qapi-schema/{indented-expr.json => indented-expr.qapi} (100%)
rename tests/qapi-schema/{leading-comma-list.json => leading-comma-list.qapi} (100%)
rename tests/qapi-schema/{leading-comma-object.json => leading-comma-object.qapi} (100%)
rename tests/qapi-schema/{missing-colon.json => missing-colon.qapi} (100%)
rename tests/qapi-schema/{missing-comma-list.json => missing-comma-list.qapi} (100%)
rename tests/qapi-schema/{missing-comma-object.json => missing-comma-object.qapi} (100%)
rename tests/qapi-schema/{missing-type.json => missing-type.qapi} (100%)
rename tests/qapi-schema/{nested-struct-data.json => nested-struct-data.qapi} (100%)
rename tests/qapi-schema/{non-objects.json => non-objects.qapi} (100%)
rename tests/qapi-schema/{oob-test.json => oob-test.qapi} (100%)
rename tests/qapi-schema/{pragma-doc-required-crap.json => pragma-doc-required-crap.qapi} (100%)
rename tests/qapi-schema/{pragma-extra-junk.json => pragma-extra-junk.qapi} (100%)
rename tests/qapi-schema/{pragma-name-case-whitelist-crap.json => pragma-name-case-whitelist-crap.qapi} (100%)
rename tests/qapi-schema/{pragma-non-dict.json => pragma-non-dict.qapi} (100%)
rename tests/qapi-schema/{pragma-returns-whitelist-crap.json => pragma-returns-whitelist-crap.qapi} (100%)
rename tests/qapi-schema/{qapi-schema-test.json => qapi-schema-test.qapi} (100%)
rename tests/qapi-schema/{quoted-structural-chars.json => quoted-structural-chars.qapi} (100%)
rename tests/qapi-schema/{redefined-builtin.json => redefined-builtin.qapi} (100%)
rename tests/qapi-schema/{redefined-command.json => redefined-command.qapi} (100%)
rename tests/qapi-schema/{redefined-event.json => redefined-event.qapi} (100%)
rename tests/qapi-schema/{redefined-type.json => redefined-type.qapi} (100%)
rename tests/qapi-schema/{reserved-command-q.json => reserved-command-q.qapi} (100%)
rename tests/qapi-schema/{reserved-enum-q.json => reserved-enum-q.qapi} (100%)
rename tests/qapi-schema/{reserved-member-has.json => reserved-member-has.qapi} (100%)
rename tests/qapi-schema/{reserved-member-q.json => reserved-member-q.qapi} (100%)
rename tests/qapi-schema/{reserved-member-u.json => reserved-member-u.qapi} (100%)
rename tests/qapi-schema/{reserved-member-underscore.json => reserved-member-underscore.qapi} (100%)
rename tests/qapi-schema/{reserved-type-kind.json => reserved-type-kind.qapi} (100%)
rename tests/qapi-schema/{reserved-type-list.json => reserved-type-list.qapi} (100%)
rename tests/qapi-schema/{returns-alternate.json => returns-alternate.qapi} (100%)
rename tests/qapi-schema/{returns-array-bad.json => returns-array-bad.qapi} (100%)
rename tests/qapi-schema/{returns-dict.json => returns-dict.qapi} (100%)
rename tests/qapi-schema/{returns-unknown.json => returns-unknown.qapi} (100%)
rename tests/qapi-schema/{returns-whitelist.json => returns-whitelist.qapi} (100%)
rename tests/qapi-schema/{struct-base-clash-deep.json => struct-base-clash-deep.qapi} (100%)
rename tests/qapi-schema/{struct-base-clash.json => struct-base-clash.qapi} (100%)
rename tests/qapi-schema/{struct-data-invalid.json => struct-data-invalid.qapi} (100%)
rename tests/qapi-schema/{struct-member-invalid.json => struct-member-invalid.qapi} (100%)
rename tests/qapi-schema/{trailing-comma-list.json => trailing-comma-list.qapi} (100%)
rename tests/qapi-schema/{trailing-comma-object.json => trailing-comma-object.qapi} (100%)
rename tests/qapi-schema/{type-bypass-bad-gen.json => type-bypass-bad-gen.qapi} (100%)
rename tests/qapi-schema/{unclosed-list.json => unclosed-list.qapi} (100%)
rename tests/qapi-schema/{unclosed-object.json => unclosed-object.qapi} (100%)
rename tests/qapi-schema/{unclosed-string.json => unclosed-string.qapi} (100%)
rename tests/qapi-schema/{unicode-str.json => unicode-str.qapi} (100%)
rename tests/qapi-schema/{union-base-empty.json => union-base-empty.qapi} (100%)
rename tests/qapi-schema/{union-base-no-discriminator.json => union-base-no-discriminator.qapi} (100%)
rename tests/qapi-schema/{union-branch-case.json => union-branch-case.qapi} (100%)
rename tests/qapi-schema/{union-clash-branches.json => union-clash-branches.qapi} (100%)
rename tests/qapi-schema/{union-empty.json => union-empty.qapi} (100%)
rename tests/qapi-schema/{union-invalid-base.json => union-invalid-base.qapi} (100%)
rename tests/qapi-schema/{union-optional-branch.json => union-optional-branch.qapi} (100%)
rename tests/qapi-schema/{union-unknown.json => union-unknown.qapi} (100%)
rename tests/qapi-schema/{unknown-escape.json => unknown-escape.qapi} (100%)
rename tests/qapi-schema/{unknown-expr-key.json => unknown-expr-key.qapi} (100%)Signature · 1 line
2.14.3
PATCH v2 1/2 qapi: Rename QMP and QGA schema files
Having two files in the tree both named qapi-schema.json just adds confusion. Rename these files to {qmp,qga}-schema to make it obvious which schema is in effect, and relocate qga into the common qapi/ subdirectory. Update all build rules that refer to the file names, and adjust other documentation and comment references that need to refer to the new file names.
Maintainer-wise, this means that qapi/qga-schema.json continues to belong to Michael as QGA maintainer, but now also notifies Markus and Eric as QAPI maintainers, alongside all the other QMP QAPI files, matching how other .json QAPI modules belong to multiple maintainer blurbs. Also, fix a stale reference to a file removed in commit eb815e248f.
---
v2: rebase on top of Markus' work that already moved qapi-schema.json to qapi/
---
docs/devel/writing-qmp-commands.txt | 2 +-
docs/interop/qmp-intro.txt | 6 +++---
Makefile | 12 ++++++------
qga/qapi-schema.json => qapi/qga-schema.json | 0
qapi/{qapi-schema.json => qmp-schema.json} | 0
MAINTAINERS | 2 +-
6 files changed, 11 insertions(+), 11 deletions(-)
rename qga/qapi-schema.json => qapi/qga-schema.json (100%)
rename qapi/{qapi-schema.json => qmp-schema.json} (100%)docs/devel/writing-qmp-commands.txt +1 -1
@@ -13,7 +13,7 @@ start with docs/interop/qmp-intro.txt. == Overview == Generally speaking, the following steps should be taken in order to write a -new QMP command. +new QMP command (similar steps for QGA). 1. Define the command and any types it needs in the appropriate QAPI schema module.
docs/interop/qmp-intro.txt +3 -3
@@ -72,14 +72,14 @@ Escape character is '^]'. { "execute": "query-status" } { "return": { - "status": "prelaunch", - "singlestep": false, + "status": "prelaunch", + "singlestep": false, "running": false } } Please refer to docs/interop/qemu-qmp-ref.* for a complete command -reference, generated from qapi/qapi-schema.json. +reference, generated from qapi/qmp-schema.json. QMP wiki page -------------
Makefile +6 -6
@@ -570,14 +570,14 @@ qga/qapi-generated/qga-qapi-types.c qga/qapi-generated/qga-qapi-types.h \ qga/qapi-generated/qga-qapi-visit.c qga/qapi-generated/qga-qapi-visit.h \ qga/qapi-generated/qga-qapi-commands.h qga/qapi-generated/qga-qapi-commands.c \ qga/qapi-generated/qga-qapi-doc.texi: \ -qga/qapi-generated/qapi-gen-timestamp ; -qga/qapi-generated/qapi-gen-timestamp: $(SRC_PATH)/qga/qapi-schema.json $(qapi-py) +qga/qapi-generated/qga-gen-timestamp ; +qga/qapi-generated/qga-gen-timestamp: $(SRC_PATH)/qapi/qga-schema.json $(qapi-py) $(call quiet-command,$(PYTHON_UTF8) $(SRC_PATH)/scripts/qapi-gen.py \ -o qga/qapi-generated -p "qga-" $<, \ "GEN","$(@:%-timestamp=%)") @>$@ -qapi-modules = $(SRC_PATH)/qapi/qapi-schema.json $(SRC_PATH)/qapi/common.json \ +qmp-modules = $(SRC_PATH)/qapi/qmp-schema.json $(SRC_PATH)/qapi/common.json \ $(SRC_PATH)/qapi/block.json $(SRC_PATH)/qapi/block-core.json \ $(SRC_PATH)/qapi/char.json \ $(SRC_PATH)/qapi/crypto.json \
@@ -665,8 +665,8 @@ qapi/qapi-events-transaction.c qapi/qapi-events-transaction.h \ qapi/qapi-events-ui.c qapi/qapi-events-ui.h \ qapi/qapi-introspect.h qapi/qapi-introspect.c \ qapi/qapi-doc.texi: \ -qapi-gen-timestamp ; -qapi-gen-timestamp: $(qapi-modules) $(qapi-py) +qmp-gen-timestamp ; +qmp-gen-timestamp: $(qmp-modules) $(qapi-py) $(call quiet-command,$(PYTHON_UTF8) $(SRC_PATH)/scripts/qapi-gen.py \ -o "qapi" -b $<, \ "GEN","$(@:%-timestamp=%)")
@@ -730,7 +730,7 @@ clean: rm -f trace/generated-tracers-dtrace.dtrace* rm -f trace/generated-tracers-dtrace.h* rm -f $(foreach f,$(GENERATED_FILES),$(f) $(f)-timestamp) - rm -f qapi-gen-timestamp + rm -f qmp-gen-timestamp rm -rf qga/qapi-generated for d in $(ALL_SUBDIRS); do \ if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \
qapi/qga-schema.json renamed from qga/qapi-schema.json +0 -0
qapi/qmp-schema.json renamed from qapi/qapi-schema.json +0 -0
MAINTAINERS +1 -1
@@ -1581,7 +1581,6 @@ QAPI Schema M: Eric Blake <[email protected]> M: Markus Armbruster <[email protected]> S: Supported -F: qapi-schema.json F: qapi/*.json T: git git://repo.or.cz/qemu/armbru.git qapi-next
@@ -1603,6 +1602,7 @@ QEMU Guest Agent M: Michael Roth <[email protected]> S: Maintained F: qga/ +F: qapi/qga-schema.json F: qemu-ga.texi F: scripts/qemu-guest-agent/ F: tests/test-qga.c
Signature · 1 line
2.14.3
Re: [Qemu-devel] [PATCH v2 1/2] qapi: Rename QMP and QGA schema files
Quoted 7 lines · Eric Blake
Having two files in the tree both named qapi-schema.json just adds confusion. Rename these files to {qmp,qga}-schema to make it obvious which schema is in effect, and relocate qga into the common qapi/ subdirectory. Update all build rules that refer to the file names, and adjust other documentation and comment references that need to refer to the new file names.
Quoted 8 lines
Maintainer-wise, this means that
qapi/qga-schema.jsoncontinues to belong to Michael as QGA maintainer, but now also notifies Markus and Eric as QAPI maintainers, alongside all the other QMP QAPI files, matching how other .json QAPI modules belong to multiple maintainer blurbs. Also, fix a stale reference to a file removed in commiteb815e248f.Signed-off-by Eric Blake <[email protected]>
We have three separate things: QAPI infrastructure, its use in QEMU proper, and its use in QGA. We keep the former two in qapi/, and the latter in qga/.
Giving the two qapi-schema.json different names is fine with me. qga-schema.json is an obvious choice. qmp-schema.json less so, because it's actually used for more than just QMP now. qemu-schema.json? Or just keep the old name?
Splitting qapi/ into infrastructure and use now doesn't seem to be worth the bother. I'd prefer to keep the use for QGA separate, though. The case for moving them together would be stronger if they shared schema parts. Matter of taste, I guess, and that means it's up to the QGA maintainer. Michael?
If we decide to keep them separate, but still want MAINTAINERS' QAPI Schema stanza to cover QGA, that's a one-liner.
Re: [Qemu-devel] [PATCH v2 1/2] qapi: Rename QMP and QGA schema files
Quoted 16 lines · Markus Armbruster
Quoted 14 lines · Eric Blake
Having two files in the tree both named qapi-schema.json just adds confusion. Rename these files to {qmp,qga}-schema to make it obvious which schema is in effect, and relocate qga into the common qapi/ subdirectory. Update all build rules that refer to the file names, and adjust other documentation and comment references that need to refer to the new file names.
Maintainer-wise, this means that
qapi/qga-schema.jsoncontinues to belong to Michael as QGA maintainer, but now also notifies Markus and Eric as QAPI maintainers, alongside all the other QMP QAPI files, matching how other .json QAPI modules belong to multiple maintainer blurbs. Also, fix a stale reference to a file removed in commiteb815e248f.
Quoted 5 lines
Quoted 1 line
Signed-off-by Eric Blake <[email protected]>We have three separate things: QAPI infrastructure, its use in QEMU proper, and its use in QGA. We keep the former two in qapi/, and the latter in qga/.
And another thread raised the possibility of firmware.json (or firmware.qapi, if we like patch 2) being in yet another directory.
Quoted 5 lines
Giving the two qapi-schema.json different names is fine with me. qga-schema.json is an obvious choice. qmp-schema.json less so, because it's actually used for more than just QMP now. qemu-schema.json? Or just keep the old name?
qapi-schema.qapi sounds repetitive; qemu-schema.qapi seems reasonable, if we need it. Also, remember that we have the QMP command 'query-qmp-schema', so the name qmp-schema makes some sense, even if the file does cover more than QMP.
Quoted 10 lines
Splitting qapi/ into infrastructure and use now doesn't seem to be worth the bother. I'd prefer to keep the use for QGA separate, though. The case for moving them together would be stronger if they shared schema parts. Matter of taste, I guess, and that means it's up to the QGA maintainer. Michael?
If we decide to keep them separate, but still want
MAINTAINERS' QAPI Schema stanza to cover QGA, that's a one-liner.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
PATCH v2 2/2 qapi: Rename .json to .qapi
In reply to Eric BlakeOur QAPI input files aren't quite true JSON (comments being one obvious difference); naming things .json doesn't make that obvious. Use a new suffix .qapi that makes it easy to identify our files.
This change is mostly mechanical, but it is not just a global search-and-replace as some instances of '.json' really do refer to JSON files, or to a URL that can't change, and so on.
---
v2: rebase to master
---
docs/devel/blkdebug.txt | 2 +-
docs/devel/qapi-code-gen.txt | 6 +-
docs/devel/testing.rst | 4 +-
docs/devel/writing-qmp-commands.txt | 4 +-
docs/interop/live-block-operations.rst | 4 +-
docs/interop/qmp-intro.txt | 2 +-
Makefile | 32 +-
qapi/{block-core.json => block-core.qapi} | 6 +-
qapi/{block.json => block.qapi} | 2 +-
qapi/{char.json => char.qapi} | 2 +-
qapi/{common.json => common.qapi} | 0
qapi/{crypto.json => crypto.qapi} | 0
qapi/{introspect.json => introspect.qapi} | 0
qapi/{migration.json => migration.qapi} | 2 +-
qapi/{misc.json => misc.qapi} | 0
qapi/{net.json => net.qapi} | 2 +-
qapi/{qga-schema.json => qga-schema.qapi} | 0
qapi/{qmp-schema.json => qmp-schema.qapi} | 30 +-
qapi/{rocker.json => rocker.qapi} | 0
qapi/{run-state.json => run-state.qapi} | 0
qapi/{sockets.json => sockets.qapi} | 2 +-
qapi/{tpm.json => tpm.qapi} | 0
qapi/{trace.json => trace.qapi} | 0
qapi/{transaction.json => transaction.qapi} | 2 +-
qapi/{ui.json => ui.qapi} | 2 +-
include/crypto/block.h | 2 +-
include/crypto/cipher.h | 2 +-
include/crypto/hash.h | 2 +-
include/crypto/ivgen.h | 2 +-
MAINTAINERS | 26 +-
scripts/git.orderfile | 2 +-
tests/Makefile.include | 336 ++++++++++-----------
tests/qapi-schema/alternate-any.err | 2 +-
.../{alternate-any.json => alternate-any.qapi} | 0
tests/qapi-schema/alternate-array.err | 2 +-
.../{alternate-array.json => alternate-array.qapi} | 0
tests/qapi-schema/alternate-base.err | 2 +-
.../{alternate-base.json => alternate-base.qapi} | 0
tests/qapi-schema/alternate-clash.err | 2 +-
.../{alternate-clash.json => alternate-clash.qapi} | 0
.../qapi-schema/alternate-conflict-bool-string.err | 2 +-
...ng.json => alternate-conflict-bool-string.qapi} | 0
tests/qapi-schema/alternate-conflict-dict.err | 2 +-
...lict-dict.json => alternate-conflict-dict.qapi} | 0
tests/qapi-schema/alternate-conflict-enum-bool.err | 2 +-
...bool.json => alternate-conflict-enum-bool.qapi} | 0
tests/qapi-schema/alternate-conflict-enum-int.err | 2 +-
...m-int.json => alternate-conflict-enum-int.qapi} | 0
.../qapi-schema/alternate-conflict-num-string.err | 2 +-
...ing.json => alternate-conflict-num-string.qapi} | 0
tests/qapi-schema/alternate-conflict-string.err | 2 +-
...-string.json => alternate-conflict-string.qapi} | 0
tests/qapi-schema/alternate-empty.err | 2 +-
.../{alternate-empty.json => alternate-empty.qapi} | 0
tests/qapi-schema/alternate-nested.err | 2 +-
...alternate-nested.json => alternate-nested.qapi} | 0
tests/qapi-schema/alternate-unknown.err | 2 +-
...ternate-unknown.json => alternate-unknown.qapi} | 0
tests/qapi-schema/args-alternate.err | 2 +-
.../{args-alternate.json => args-alternate.qapi} | 0
tests/qapi-schema/args-any.err | 2 +-
tests/qapi-schema/{args-any.json => args-any.qapi} | 0
tests/qapi-schema/args-array-empty.err | 2 +-
...args-array-empty.json => args-array-empty.qapi} | 0
tests/qapi-schema/args-array-unknown.err | 2 +-
...-array-unknown.json => args-array-unknown.qapi} | 0
tests/qapi-schema/args-bad-boxed.err | 2 +-
.../{args-bad-boxed.json => args-bad-boxed.qapi} | 0
tests/qapi-schema/args-boxed-anon.err | 2 +-
.../{args-boxed-anon.json => args-boxed-anon.qapi} | 0
tests/qapi-schema/args-boxed-empty.err | 2 +-
...args-boxed-empty.json => args-boxed-empty.qapi} | 0
tests/qapi-schema/args-boxed-string.err | 2 +-
...gs-boxed-string.json => args-boxed-string.qapi} | 0
tests/qapi-schema/args-int.err | 2 +-
tests/qapi-schema/{args-int.json => args-int.qapi} | 0
tests/qapi-schema/args-invalid.err | 2 +-
.../{args-invalid.json => args-invalid.qapi} | 0
tests/qapi-schema/args-member-array-bad.err | 2 +-
...r-array-bad.json => args-member-array-bad.qapi} | 0
tests/qapi-schema/args-member-case.err | 2 +-
...args-member-case.json => args-member-case.qapi} | 0
tests/qapi-schema/args-member-unknown.err | 2 +-
...ember-unknown.json => args-member-unknown.qapi} | 0
tests/qapi-schema/args-name-clash.err | 2 +-
.../{args-name-clash.json => args-name-clash.qapi} | 0
tests/qapi-schema/args-union.err | 2 +-
.../{args-union.json => args-union.qapi} | 0
tests/qapi-schema/args-unknown.err | 2 +-
.../{args-unknown.json => args-unknown.qapi} | 0
tests/qapi-schema/bad-base.err | 2 +-
tests/qapi-schema/{bad-base.json => bad-base.qapi} | 0
tests/qapi-schema/bad-data.err | 2 +-
tests/qapi-schema/{bad-data.json => bad-data.qapi} | 0
tests/qapi-schema/bad-ident.err | 2 +-
.../qapi-schema/{bad-ident.json => bad-ident.qapi} | 0
tests/qapi-schema/bad-type-bool.err | 2 +-
.../{bad-type-bool.json => bad-type-bool.qapi} | 0
tests/qapi-schema/bad-type-dict.err | 2 +-
.../{bad-type-dict.json => bad-type-dict.qapi} | 0
tests/qapi-schema/bad-type-int.err | 2 +-
.../{bad-type-int.json => bad-type-int.qapi} | 0
tests/qapi-schema/base-cycle-direct.err | 2 +-
...se-cycle-direct.json => base-cycle-direct.qapi} | 0
tests/qapi-schema/base-cycle-indirect.err | 2 +-
...ycle-indirect.json => base-cycle-indirect.qapi} | 0
tests/qapi-schema/command-int.err | 2 +-
.../{command-int.json => command-int.qapi} | 0
tests/qapi-schema/comments.out | 2 +-
tests/qapi-schema/{comments.json => comments.qapi} | 0
tests/qapi-schema/doc-bad-alternate-member.err | 2 +-
...e-member.json => doc-bad-alternate-member.qapi} | 0
tests/qapi-schema/doc-bad-command-arg.err | 2 +-
...d-command-arg.json => doc-bad-command-arg.qapi} | 0
tests/qapi-schema/doc-bad-section.out | 2 +-
.../{doc-bad-section.json => doc-bad-section.qapi} | 0
tests/qapi-schema/doc-bad-symbol.err | 2 +-
.../{doc-bad-symbol.json => doc-bad-symbol.qapi} | 0
tests/qapi-schema/doc-bad-union-member.err | 2 +-
...union-member.json => doc-bad-union-member.qapi} | 0
tests/qapi-schema/doc-before-include.err | 2 +-
...before-include.json => doc-before-include.qapi} | 2 +-
tests/qapi-schema/doc-before-pragma.err | 2 +-
...c-before-pragma.json => doc-before-pragma.qapi} | 0
tests/qapi-schema/doc-duplicated-arg.err | 2 +-
...duplicated-arg.json => doc-duplicated-arg.qapi} | 0
tests/qapi-schema/doc-duplicated-return.err | 2 +-
...ated-return.json => doc-duplicated-return.qapi} | 0
tests/qapi-schema/doc-duplicated-since.err | 2 +-
...icated-since.json => doc-duplicated-since.qapi} | 0
tests/qapi-schema/doc-empty-arg.err | 2 +-
.../{doc-empty-arg.json => doc-empty-arg.qapi} | 0
tests/qapi-schema/doc-empty-section.err | 2 +-
...c-empty-section.json => doc-empty-section.qapi} | 0
tests/qapi-schema/doc-empty-symbol.err | 2 +-
...doc-empty-symbol.json => doc-empty-symbol.qapi} | 0
tests/qapi-schema/doc-good.out | 2 +-
tests/qapi-schema/{doc-good.json => doc-good.qapi} | 0
tests/qapi-schema/doc-interleaved-section.err | 2 +-
...d-section.json => doc-interleaved-section.qapi} | 0
tests/qapi-schema/doc-invalid-end.err | 2 +-
.../{doc-invalid-end.json => doc-invalid-end.qapi} | 0
tests/qapi-schema/doc-invalid-end2.err | 2 +-
...doc-invalid-end2.json => doc-invalid-end2.qapi} | 0
tests/qapi-schema/doc-invalid-return.err | 2 +-
...invalid-return.json => doc-invalid-return.qapi} | 0
tests/qapi-schema/doc-invalid-section.err | 2 +-
...valid-section.json => doc-invalid-section.qapi} | 0
tests/qapi-schema/doc-invalid-start.err | 2 +-
...c-invalid-start.json => doc-invalid-start.qapi} | 0
tests/qapi-schema/doc-missing-colon.err | 2 +-
...c-missing-colon.json => doc-missing-colon.qapi} | 0
tests/qapi-schema/doc-missing-expr.err | 2 +-
...doc-missing-expr.json => doc-missing-expr.qapi} | 0
tests/qapi-schema/doc-missing-space.err | 2 +-
...c-missing-space.json => doc-missing-space.qapi} | 0
tests/qapi-schema/doc-missing.err | 2 +-
.../{doc-missing.json => doc-missing.qapi} | 0
tests/qapi-schema/doc-no-symbol.err | 2 +-
.../{doc-no-symbol.json => doc-no-symbol.qapi} | 0
tests/qapi-schema/double-data.err | 2 +-
.../{double-data.json => double-data.qapi} | 0
tests/qapi-schema/double-type.err | 2 +-
.../{double-type.json => double-type.qapi} | 0
tests/qapi-schema/duplicate-key.err | 2 +-
.../{duplicate-key.json => duplicate-key.qapi} | 0
tests/qapi-schema/{empty.json => empty.qapi} | 0
tests/qapi-schema/enum-bad-name.err | 2 +-
.../{enum-bad-name.json => enum-bad-name.qapi} | 0
tests/qapi-schema/enum-bad-prefix.err | 2 +-
.../{enum-bad-prefix.json => enum-bad-prefix.qapi} | 0
tests/qapi-schema/enum-clash-member.err | 2 +-
...um-clash-member.json => enum-clash-member.qapi} | 0
tests/qapi-schema/enum-dict-member.err | 2 +-
...enum-dict-member.json => enum-dict-member.qapi} | 0
tests/qapi-schema/enum-int-member.err | 2 +-
.../{enum-int-member.json => enum-int-member.qapi} | 0
tests/qapi-schema/enum-member-case.err | 2 +-
...enum-member-case.json => enum-member-case.qapi} | 0
tests/qapi-schema/enum-missing-data.err | 2 +-
...um-missing-data.json => enum-missing-data.qapi} | 0
tests/qapi-schema/enum-wrong-data.err | 2 +-
.../{enum-wrong-data.json => enum-wrong-data.qapi} | 0
tests/qapi-schema/escape-outside-string.err | 2 +-
...side-string.json => escape-outside-string.qapi} | 0
tests/qapi-schema/escape-too-big.err | 2 +-
.../{escape-too-big.json => escape-too-big.qapi} | 0
tests/qapi-schema/escape-too-short.err | 2 +-
...escape-too-short.json => escape-too-short.qapi} | 0
tests/qapi-schema/event-boxed-empty.err | 2 +-
...ent-boxed-empty.json => event-boxed-empty.qapi} | 0
tests/qapi-schema/event-case.out | 2 +-
.../{event-case.json => event-case.qapi} | 0
tests/qapi-schema/event-nest-struct.err | 2 +-
...ent-nest-struct.json => event-nest-struct.qapi} | 0
tests/qapi-schema/flat-union-array-branch.err | 2 +-
...ay-branch.json => flat-union-array-branch.qapi} | 0
tests/qapi-schema/flat-union-bad-base.err | 2 +-
...nion-bad-base.json => flat-union-bad-base.qapi} | 0
tests/qapi-schema/flat-union-bad-discriminator.err | 2 +-
...ator.json => flat-union-bad-discriminator.qapi} | 0
tests/qapi-schema/flat-union-base-any.err | 2 +-
...nion-base-any.json => flat-union-base-any.qapi} | 0
tests/qapi-schema/flat-union-base-union.err | 2 +-
...-base-union.json => flat-union-base-union.qapi} | 0
tests/qapi-schema/flat-union-clash-member.err | 2 +-
...sh-member.json => flat-union-clash-member.qapi} | 0
tests/qapi-schema/flat-union-empty.err | 2 +-
...flat-union-empty.json => flat-union-empty.qapi} | 0
tests/qapi-schema/flat-union-incomplete-branch.err | 2 +-
...anch.json => flat-union-incomplete-branch.qapi} | 0
tests/qapi-schema/flat-union-inline.err | 2 +-
...at-union-inline.json => flat-union-inline.qapi} | 0
tests/qapi-schema/flat-union-int-branch.err | 2 +-
...-int-branch.json => flat-union-int-branch.qapi} | 0
.../qapi-schema/flat-union-invalid-branch-key.err | 2 +-
...key.json => flat-union-invalid-branch-key.qapi} | 0
.../flat-union-invalid-discriminator.err | 2 +-
....json => flat-union-invalid-discriminator.qapi} | 0
tests/qapi-schema/flat-union-no-base.err | 2 +-
...-union-no-base.json => flat-union-no-base.qapi} | 0
.../flat-union-optional-discriminator.err | 2 +-
...json => flat-union-optional-discriminator.qapi} | 0
.../flat-union-string-discriminator.err | 2 +-
...r.json => flat-union-string-discriminator.qapi} | 0
tests/qapi-schema/funny-char.err | 2 +-
.../{funny-char.json => funny-char.qapi} | 0
tests/qapi-schema/ident-with-escape.out | 2 +-
...ent-with-escape.json => ident-with-escape.qapi} | 0
tests/qapi-schema/include-before-err.err | 2 +-
tests/qapi-schema/include-before-err.json | 2 -
tests/qapi-schema/include-before-err.qapi | 2 +
tests/qapi-schema/include-cycle-b.json | 1 -
tests/qapi-schema/include-cycle-b.qapi | 1 +
tests/qapi-schema/include-cycle-c.json | 1 -
tests/qapi-schema/include-cycle-c.qapi | 1 +
tests/qapi-schema/include-cycle.err | 6 +-
tests/qapi-schema/include-cycle.json | 1 -
tests/qapi-schema/include-cycle.qapi | 1 +
tests/qapi-schema/include-extra-junk.err | 2 +-
tests/qapi-schema/include-extra-junk.json | 3 -
tests/qapi-schema/include-extra-junk.qapi | 3 +
tests/qapi-schema/include-format-err.err | 2 +-
tests/qapi-schema/include-format-err.json | 2 -
tests/qapi-schema/include-format-err.qapi | 2 +
tests/qapi-schema/include-nested-err.err | 4 +-
tests/qapi-schema/include-nested-err.json | 1 -
tests/qapi-schema/include-nested-err.qapi | 1 +
tests/qapi-schema/include-no-file.err | 2 +-
tests/qapi-schema/include-no-file.json | 1 -
tests/qapi-schema/include-no-file.qapi | 1 +
tests/qapi-schema/include-non-file.err | 2 +-
...include-non-file.json => include-non-file.qapi} | 0
...e-relpath-sub.json => include-relpath-sub.qapi} | 0
tests/qapi-schema/include-relpath.json | 1 -
tests/qapi-schema/include-relpath.out | 10 +-
tests/qapi-schema/include-relpath.qapi | 1 +
tests/qapi-schema/include-repetition-sub.json | 2 -
tests/qapi-schema/include-repetition-sub.qapi | 2 +
tests/qapi-schema/include-repetition.json | 3 -
tests/qapi-schema/include-repetition.out | 20 +-
tests/qapi-schema/include-repetition.qapi | 3 +
tests/qapi-schema/include-self-cycle.err | 2 +-
tests/qapi-schema/include-self-cycle.json | 1 -
tests/qapi-schema/include-self-cycle.qapi | 1 +
...ude-simple-sub.json => include-simple-sub.qapi} | 0
tests/qapi-schema/include-simple.json | 1 -
tests/qapi-schema/include-simple.out | 6 +-
tests/qapi-schema/include-simple.qapi | 1 +
tests/qapi-schema/include/relpath.json | 1 -
tests/qapi-schema/include/relpath.qapi | 1 +
tests/qapi-schema/indented-expr.out | 2 +-
.../{indented-expr.json => indented-expr.qapi} | 0
tests/qapi-schema/leading-comma-list.err | 2 +-
...ing-comma-list.json => leading-comma-list.qapi} | 0
tests/qapi-schema/leading-comma-object.err | 2 +-
...comma-object.json => leading-comma-object.qapi} | 0
tests/qapi-schema/missing-colon.err | 2 +-
.../{missing-colon.json => missing-colon.qapi} | 0
tests/qapi-schema/missing-comma-list.err | 2 +-
...ing-comma-list.json => missing-comma-list.qapi} | 0
tests/qapi-schema/missing-comma-object.err | 2 +-
...comma-object.json => missing-comma-object.qapi} | 0
tests/qapi-schema/missing-type.err | 2 +-
.../{missing-type.json => missing-type.qapi} | 0
tests/qapi-schema/nested-struct-data.err | 2 +-
...ed-struct-data.json => nested-struct-data.qapi} | 0
tests/qapi-schema/non-objects.err | 2 +-
.../{non-objects.json => non-objects.qapi} | 0
tests/qapi-schema/oob-test.err | 2 +-
tests/qapi-schema/{oob-test.json => oob-test.qapi} | 0
tests/qapi-schema/pragma-doc-required-crap.err | 2 +-
...red-crap.json => pragma-doc-required-crap.qapi} | 0
tests/qapi-schema/pragma-extra-junk.err | 2 +-
...agma-extra-junk.json => pragma-extra-junk.qapi} | 0
.../pragma-name-case-whitelist-crap.err | 2 +-
...p.json => pragma-name-case-whitelist-crap.qapi} | 0
tests/qapi-schema/pragma-non-dict.err | 2 +-
.../{pragma-non-dict.json => pragma-non-dict.qapi} | 0
.../qapi-schema/pragma-returns-whitelist-crap.err | 2 +-
...rap.json => pragma-returns-whitelist-crap.qapi} | 0
tests/qapi-schema/qapi-schema-test.out | 2 +-
...qapi-schema-test.json => qapi-schema-test.qapi} | 0
tests/qapi-schema/quoted-structural-chars.err | 2 +-
...ral-chars.json => quoted-structural-chars.qapi} | 0
tests/qapi-schema/redefined-builtin.err | 2 +-
...defined-builtin.json => redefined-builtin.qapi} | 0
tests/qapi-schema/redefined-command.err | 2 +-
...defined-command.json => redefined-command.qapi} | 0
tests/qapi-schema/redefined-event.err | 2 +-
.../{redefined-event.json => redefined-event.qapi} | 0
tests/qapi-schema/redefined-type.err | 2 +-
.../{redefined-type.json => redefined-type.qapi} | 0
tests/qapi-schema/reserved-command-q.err | 2 +-
...rved-command-q.json => reserved-command-q.qapi} | 0
tests/qapi-schema/reserved-enum-q.err | 2 +-
.../{reserved-enum-q.json => reserved-enum-q.qapi} | 0
tests/qapi-schema/reserved-member-has.err | 2 +-
...ed-member-has.json => reserved-member-has.qapi} | 0
tests/qapi-schema/reserved-member-q.err | 2 +-
...served-member-q.json => reserved-member-q.qapi} | 0
tests/qapi-schema/reserved-member-u.err | 2 +-
...served-member-u.json => reserved-member-u.qapi} | 0
tests/qapi-schema/reserved-member-underscore.err | 2 +-
...rscore.json => reserved-member-underscore.qapi} | 0
tests/qapi-schema/reserved-type-kind.err | 2 +-
...rved-type-kind.json => reserved-type-kind.qapi} | 0
tests/qapi-schema/reserved-type-list.err | 2 +-
...rved-type-list.json => reserved-type-list.qapi} | 0
tests/qapi-schema/returns-alternate.err | 2 +-
...turns-alternate.json => returns-alternate.qapi} | 0
tests/qapi-schema/returns-array-bad.err | 2 +-
...turns-array-bad.json => returns-array-bad.qapi} | 0
tests/qapi-schema/returns-dict.err | 2 +-
.../{returns-dict.json => returns-dict.qapi} | 0
tests/qapi-schema/returns-unknown.err | 2 +-
.../{returns-unknown.json => returns-unknown.qapi} | 0
tests/qapi-schema/returns-whitelist.err | 2 +-
...turns-whitelist.json => returns-whitelist.qapi} | 0
tests/qapi-schema/struct-base-clash-deep.err | 2 +-
...clash-deep.json => struct-base-clash-deep.qapi} | 0
tests/qapi-schema/struct-base-clash.err | 2 +-
...ruct-base-clash.json => struct-base-clash.qapi} | 0
tests/qapi-schema/struct-data-invalid.err | 2 +-
...-data-invalid.json => struct-data-invalid.qapi} | 0
tests/qapi-schema/struct-member-invalid.err | 2 +-
...ber-invalid.json => struct-member-invalid.qapi} | 0
tests/qapi-schema/trailing-comma-list.err | 2 +-
...ng-comma-list.json => trailing-comma-list.qapi} | 0
tests/qapi-schema/trailing-comma-object.err | 2 +-
...omma-object.json => trailing-comma-object.qapi} | 0
tests/qapi-schema/type-bypass-bad-gen.err | 2 +-
...ypass-bad-gen.json => type-bypass-bad-gen.qapi} | 0
tests/qapi-schema/unclosed-list.err | 2 +-
.../{unclosed-list.json => unclosed-list.qapi} | 0
tests/qapi-schema/unclosed-object.err | 2 +-
.../{unclosed-object.json => unclosed-object.qapi} | 0
tests/qapi-schema/unclosed-string.err | 2 +-
.../{unclosed-string.json => unclosed-string.qapi} | 0
tests/qapi-schema/unicode-str.err | 2 +-
.../{unicode-str.json => unicode-str.qapi} | 0
tests/qapi-schema/union-base-empty.err | 2 +-
...union-base-empty.json => union-base-empty.qapi} | 0
tests/qapi-schema/union-base-no-discriminator.err | 2 +-
...nator.json => union-base-no-discriminator.qapi} | 0
tests/qapi-schema/union-branch-case.err | 2 +-
...ion-branch-case.json => union-branch-case.qapi} | 0
tests/qapi-schema/union-clash-branches.err | 2 +-
...ash-branches.json => union-clash-branches.qapi} | 0
tests/qapi-schema/union-empty.err | 2 +-
.../{union-empty.json => union-empty.qapi} | 0
tests/qapi-schema/union-invalid-base.err | 2 +-
...n-invalid-base.json => union-invalid-base.qapi} | 0
tests/qapi-schema/union-optional-branch.err | 2 +-
...onal-branch.json => union-optional-branch.qapi} | 0
tests/qapi-schema/union-unknown.err | 2 +-
.../{union-unknown.json => union-unknown.qapi} | 0
tests/qapi-schema/unknown-escape.err | 2 +-
.../{unknown-escape.json => unknown-escape.qapi} | 0
tests/qapi-schema/unknown-expr-key.err | 2 +-
...unknown-expr-key.json => unknown-expr-key.qapi} | 0
381 files changed, 442 insertions(+), 442 deletions(-)
rename qapi/{block-core.json => block-core.qapi} (99%)
rename qapi/{block.json => block.qapi} (99%)
rename qapi/{char.json => char.qapi} (99%)
rename qapi/{common.json => common.qapi} (100%)
rename qapi/{crypto.json => crypto.qapi} (100%)
rename qapi/{introspect.json => introspect.qapi} (100%)
rename qapi/{migration.json => migration.qapi} (99%)
rename qapi/{misc.json => misc.qapi} (100%)
rename qapi/{net.json => net.qapi} (99%)
rename qapi/{qga-schema.json => qga-schema.qapi} (100%)
rename qapi/{qmp-schema.json => qmp-schema.qapi} (88%)
rename qapi/{rocker.json => rocker.qapi} (100%)
rename qapi/{run-state.json => run-state.qapi} (100%)
rename qapi/{sockets.json => sockets.qapi} (99%)
rename qapi/{tpm.json => tpm.qapi} (100%)
rename qapi/{trace.json => trace.qapi} (100%)
rename qapi/{transaction.json => transaction.qapi} (99%)
rename qapi/{ui.json => ui.qapi} (99%)
rename tests/qapi-schema/{alternate-any.json => alternate-any.qapi} (100%)
rename tests/qapi-schema/{alternate-array.json => alternate-array.qapi} (100%)
rename tests/qapi-schema/{alternate-base.json => alternate-base.qapi} (100%)
rename tests/qapi-schema/{alternate-clash.json => alternate-clash.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-bool-string.json => alternate-conflict-bool-string.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-dict.json => alternate-conflict-dict.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-enum-bool.json => alternate-conflict-enum-bool.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-enum-int.json => alternate-conflict-enum-int.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-num-string.json => alternate-conflict-num-string.qapi} (100%)
rename tests/qapi-schema/{alternate-conflict-string.json => alternate-conflict-string.qapi} (100%)
rename tests/qapi-schema/{alternate-empty.json => alternate-empty.qapi} (100%)
rename tests/qapi-schema/{alternate-nested.json => alternate-nested.qapi} (100%)
rename tests/qapi-schema/{alternate-unknown.json => alternate-unknown.qapi} (100%)
rename tests/qapi-schema/{args-alternate.json => args-alternate.qapi} (100%)
rename tests/qapi-schema/{args-any.json => args-any.qapi} (100%)
rename tests/qapi-schema/{args-array-empty.json => args-array-empty.qapi} (100%)
rename tests/qapi-schema/{args-array-unknown.json => args-array-unknown.qapi} (100%)
rename tests/qapi-schema/{args-bad-boxed.json => args-bad-boxed.qapi} (100%)
rename tests/qapi-schema/{args-boxed-anon.json => args-boxed-anon.qapi} (100%)
rename tests/qapi-schema/{args-boxed-empty.json => args-boxed-empty.qapi} (100%)
rename tests/qapi-schema/{args-boxed-string.json => args-boxed-string.qapi} (100%)
rename tests/qapi-schema/{args-int.json => args-int.qapi} (100%)
rename tests/qapi-schema/{args-invalid.json => args-invalid.qapi} (100%)
rename tests/qapi-schema/{args-member-array-bad.json => args-member-array-bad.qapi} (100%)
rename tests/qapi-schema/{args-member-case.json => args-member-case.qapi} (100%)
rename tests/qapi-schema/{args-member-unknown.json => args-member-unknown.qapi} (100%)
rename tests/qapi-schema/{args-name-clash.json => args-name-clash.qapi} (100%)
rename tests/qapi-schema/{args-union.json => args-union.qapi} (100%)
rename tests/qapi-schema/{args-unknown.json => args-unknown.qapi} (100%)
rename tests/qapi-schema/{bad-base.json => bad-base.qapi} (100%)
rename tests/qapi-schema/{bad-data.json => bad-data.qapi} (100%)
rename tests/qapi-schema/{bad-ident.json => bad-ident.qapi} (100%)
rename tests/qapi-schema/{bad-type-bool.json => bad-type-bool.qapi} (100%)
rename tests/qapi-schema/{bad-type-dict.json => bad-type-dict.qapi} (100%)
rename tests/qapi-schema/{bad-type-int.json => bad-type-int.qapi} (100%)
rename tests/qapi-schema/{base-cycle-direct.json => base-cycle-direct.qapi} (100%)
rename tests/qapi-schema/{base-cycle-indirect.json => base-cycle-indirect.qapi} (100%)
rename tests/qapi-schema/{command-int.json => command-int.qapi} (100%)
rename tests/qapi-schema/{comments.json => comments.qapi} (100%)
rename tests/qapi-schema/{doc-bad-alternate-member.json => doc-bad-alternate-member.qapi} (100%)
rename tests/qapi-schema/{doc-bad-command-arg.json => doc-bad-command-arg.qapi} (100%)
rename tests/qapi-schema/{doc-bad-section.json => doc-bad-section.qapi} (100%)
rename tests/qapi-schema/{doc-bad-symbol.json => doc-bad-symbol.qapi} (100%)
rename tests/qapi-schema/{doc-bad-union-member.json => doc-bad-union-member.qapi} (100%)
rename tests/qapi-schema/{doc-before-include.json => doc-before-include.qapi} (81%)
rename tests/qapi-schema/{doc-before-pragma.json => doc-before-pragma.qapi} (100%)
rename tests/qapi-schema/{doc-duplicated-arg.json => doc-duplicated-arg.qapi} (100%)
rename tests/qapi-schema/{doc-duplicated-return.json => doc-duplicated-return.qapi} (100%)
rename tests/qapi-schema/{doc-duplicated-since.json => doc-duplicated-since.qapi} (100%)
rename tests/qapi-schema/{doc-empty-arg.json => doc-empty-arg.qapi} (100%)
rename tests/qapi-schema/{doc-empty-section.json => doc-empty-section.qapi} (100%)
rename tests/qapi-schema/{doc-empty-symbol.json => doc-empty-symbol.qapi} (100%)
rename tests/qapi-schema/{doc-good.json => doc-good.qapi} (100%)
rename tests/qapi-schema/{doc-interleaved-section.json => doc-interleaved-section.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-end.json => doc-invalid-end.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-end2.json => doc-invalid-end2.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-return.json => doc-invalid-return.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-section.json => doc-invalid-section.qapi} (100%)
rename tests/qapi-schema/{doc-invalid-start.json => doc-invalid-start.qapi} (100%)
rename tests/qapi-schema/{doc-missing-colon.json => doc-missing-colon.qapi} (100%)
rename tests/qapi-schema/{doc-missing-expr.json => doc-missing-expr.qapi} (100%)
rename tests/qapi-schema/{doc-missing-space.json => doc-missing-space.qapi} (100%)
rename tests/qapi-schema/{doc-missing.json => doc-missing.qapi} (100%)
rename tests/qapi-schema/{doc-no-symbol.json => doc-no-symbol.qapi} (100%)
rename tests/qapi-schema/{double-data.json => double-data.qapi} (100%)
rename tests/qapi-schema/{double-type.json => double-type.qapi} (100%)
rename tests/qapi-schema/{duplicate-key.json => duplicate-key.qapi} (100%)
rename tests/qapi-schema/{empty.json => empty.qapi} (100%)
rename tests/qapi-schema/{enum-bad-name.json => enum-bad-name.qapi} (100%)
rename tests/qapi-schema/{enum-bad-prefix.json => enum-bad-prefix.qapi} (100%)
rename tests/qapi-schema/{enum-clash-member.json => enum-clash-member.qapi} (100%)
rename tests/qapi-schema/{enum-dict-member.json => enum-dict-member.qapi} (100%)
rename tests/qapi-schema/{enum-int-member.json => enum-int-member.qapi} (100%)
rename tests/qapi-schema/{enum-member-case.json => enum-member-case.qapi} (100%)
rename tests/qapi-schema/{enum-missing-data.json => enum-missing-data.qapi} (100%)
rename tests/qapi-schema/{enum-wrong-data.json => enum-wrong-data.qapi} (100%)
rename tests/qapi-schema/{escape-outside-string.json => escape-outside-string.qapi} (100%)
rename tests/qapi-schema/{escape-too-big.json => escape-too-big.qapi} (100%)
rename tests/qapi-schema/{escape-too-short.json => escape-too-short.qapi} (100%)
rename tests/qapi-schema/{event-boxed-empty.json => event-boxed-empty.qapi} (100%)
rename tests/qapi-schema/{event-case.json => event-case.qapi} (100%)
rename tests/qapi-schema/{event-nest-struct.json => event-nest-struct.qapi} (100%)
rename tests/qapi-schema/{flat-union-array-branch.json => flat-union-array-branch.qapi} (100%)
rename tests/qapi-schema/{flat-union-bad-base.json => flat-union-bad-base.qapi} (100%)
rename tests/qapi-schema/{flat-union-bad-discriminator.json => flat-union-bad-discriminator.qapi} (100%)
rename tests/qapi-schema/{flat-union-base-any.json => flat-union-base-any.qapi} (100%)
rename tests/qapi-schema/{flat-union-base-union.json => flat-union-base-union.qapi} (100%)
rename tests/qapi-schema/{flat-union-clash-member.json => flat-union-clash-member.qapi} (100%)
rename tests/qapi-schema/{flat-union-empty.json => flat-union-empty.qapi} (100%)
rename tests/qapi-schema/{flat-union-incomplete-branch.json => flat-union-incomplete-branch.qapi} (100%)
rename tests/qapi-schema/{flat-union-inline.json => flat-union-inline.qapi} (100%)
rename tests/qapi-schema/{flat-union-int-branch.json => flat-union-int-branch.qapi} (100%)
rename tests/qapi-schema/{flat-union-invalid-branch-key.json => flat-union-invalid-branch-key.qapi} (100%)
rename tests/qapi-schema/{flat-union-invalid-discriminator.json => flat-union-invalid-discriminator.qapi} (100%)
rename tests/qapi-schema/{flat-union-no-base.json => flat-union-no-base.qapi} (100%)
rename tests/qapi-schema/{flat-union-optional-discriminator.json => flat-union-optional-discriminator.qapi} (100%)
rename tests/qapi-schema/{flat-union-string-discriminator.json => flat-union-string-discriminator.qapi} (100%)
rename tests/qapi-schema/{funny-char.json => funny-char.qapi} (100%)
rename tests/qapi-schema/{ident-with-escape.json => ident-with-escape.qapi} (100%)
delete mode 100644 tests/qapi-schema/include-before-err.json
create mode 100644 tests/qapi-schema/include-before-err.qapi
delete mode 100644 tests/qapi-schema/include-cycle-b.json
create mode 100644 tests/qapi-schema/include-cycle-b.qapi
delete mode 100644 tests/qapi-schema/include-cycle-c.json
create mode 100644 tests/qapi-schema/include-cycle-c.qapi
delete mode 100644 tests/qapi-schema/include-cycle.json
create mode 100644 tests/qapi-schema/include-cycle.qapi
delete mode 100644 tests/qapi-schema/include-extra-junk.json
create mode 100644 tests/qapi-schema/include-extra-junk.qapi
delete mode 100644 tests/qapi-schema/include-format-err.json
create mode 100644 tests/qapi-schema/include-format-err.qapi
delete mode 100644 tests/qapi-schema/include-nested-err.json
create mode 100644 tests/qapi-schema/include-nested-err.qapi
delete mode 100644 tests/qapi-schema/include-no-file.json
create mode 100644 tests/qapi-schema/include-no-file.qapi
rename tests/qapi-schema/{include-non-file.json => include-non-file.qapi} (100%)
rename tests/qapi-schema/{include-relpath-sub.json => include-relpath-sub.qapi} (100%)
delete mode 100644 tests/qapi-schema/include-relpath.json
create mode 100644 tests/qapi-schema/include-relpath.qapi
delete mode 100644 tests/qapi-schema/include-repetition-sub.json
create mode 100644 tests/qapi-schema/include-repetition-sub.qapi
delete mode 100644 tests/qapi-schema/include-repetition.json
create mode 100644 tests/qapi-schema/include-repetition.qapi
delete mode 100644 tests/qapi-schema/include-self-cycle.json
create mode 100644 tests/qapi-schema/include-self-cycle.qapi
rename tests/qapi-schema/{include-simple-sub.json => include-simple-sub.qapi} (100%)
delete mode 100644 tests/qapi-schema/include-simple.json
create mode 100644 tests/qapi-schema/include-simple.qapi
delete mode 100644 tests/qapi-schema/include/relpath.json
create mode 100644 tests/qapi-schema/include/relpath.qapi
rename tests/qapi-schema/{indented-expr.json => indented-expr.qapi} (100%)
rename tests/qapi-schema/{leading-comma-list.json => leading-comma-list.qapi} (100%)
rename tests/qapi-schema/{leading-comma-object.json => leading-comma-object.qapi} (100%)
rename tests/qapi-schema/{missing-colon.json => missing-colon.qapi} (100%)
rename tests/qapi-schema/{missing-comma-list.json => missing-comma-list.qapi} (100%)
rename tests/qapi-schema/{missing-comma-object.json => missing-comma-object.qapi} (100%)
rename tests/qapi-schema/{missing-type.json => missing-type.qapi} (100%)
rename tests/qapi-schema/{nested-struct-data.json => nested-struct-data.qapi} (100%)
rename tests/qapi-schema/{non-objects.json => non-objects.qapi} (100%)
rename tests/qapi-schema/{oob-test.json => oob-test.qapi} (100%)
rename tests/qapi-schema/{pragma-doc-required-crap.json => pragma-doc-required-crap.qapi} (100%)
rename tests/qapi-schema/{pragma-extra-junk.json => pragma-extra-junk.qapi} (100%)
rename tests/qapi-schema/{pragma-name-case-whitelist-crap.json => pragma-name-case-whitelist-crap.qapi} (100%)
rename tests/qapi-schema/{pragma-non-dict.json => pragma-non-dict.qapi} (100%)
rename tests/qapi-schema/{pragma-returns-whitelist-crap.json => pragma-returns-whitelist-crap.qapi} (100%)
rename tests/qapi-schema/{qapi-schema-test.json => qapi-schema-test.qapi} (100%)
rename tests/qapi-schema/{quoted-structural-chars.json => quoted-structural-chars.qapi} (100%)
rename tests/qapi-schema/{redefined-builtin.json => redefined-builtin.qapi} (100%)
rename tests/qapi-schema/{redefined-command.json => redefined-command.qapi} (100%)
rename tests/qapi-schema/{redefined-event.json => redefined-event.qapi} (100%)
rename tests/qapi-schema/{redefined-type.json => redefined-type.qapi} (100%)
rename tests/qapi-schema/{reserved-command-q.json => reserved-command-q.qapi} (100%)
rename tests/qapi-schema/{reserved-enum-q.json => reserved-enum-q.qapi} (100%)
rename tests/qapi-schema/{reserved-member-has.json => reserved-member-has.qapi} (100%)
rename tests/qapi-schema/{reserved-member-q.json => reserved-member-q.qapi} (100%)
rename tests/qapi-schema/{reserved-member-u.json => reserved-member-u.qapi} (100%)
rename tests/qapi-schema/{reserved-member-underscore.json => reserved-member-underscore.qapi} (100%)
rename tests/qapi-schema/{reserved-type-kind.json => reserved-type-kind.qapi} (100%)
rename tests/qapi-schema/{reserved-type-list.json => reserved-type-list.qapi} (100%)
rename tests/qapi-schema/{returns-alternate.json => returns-alternate.qapi} (100%)
rename tests/qapi-schema/{returns-array-bad.json => returns-array-bad.qapi} (100%)
rename tests/qapi-schema/{returns-dict.json => returns-dict.qapi} (100%)
rename tests/qapi-schema/{returns-unknown.json => returns-unknown.qapi} (100%)
rename tests/qapi-schema/{returns-whitelist.json => returns-whitelist.qapi} (100%)
rename tests/qapi-schema/{struct-base-clash-deep.json => struct-base-clash-deep.qapi} (100%)
rename tests/qapi-schema/{struct-base-clash.json => struct-base-clash.qapi} (100%)
rename tests/qapi-schema/{struct-data-invalid.json => struct-data-invalid.qapi} (100%)
rename tests/qapi-schema/{struct-member-invalid.json => struct-member-invalid.qapi} (100%)
rename tests/qapi-schema/{trailing-comma-list.json => trailing-comma-list.qapi} (100%)
rename tests/qapi-schema/{trailing-comma-object.json => trailing-comma-object.qapi} (100%)
rename tests/qapi-schema/{type-bypass-bad-gen.json => type-bypass-bad-gen.qapi} (100%)
rename tests/qapi-schema/{unclosed-list.json => unclosed-list.qapi} (100%)
rename tests/qapi-schema/{unclosed-object.json => unclosed-object.qapi} (100%)
rename tests/qapi-schema/{unclosed-string.json => unclosed-string.qapi} (100%)
rename tests/qapi-schema/{unicode-str.json => unicode-str.qapi} (100%)
rename tests/qapi-schema/{union-base-empty.json => union-base-empty.qapi} (100%)
rename tests/qapi-schema/{union-base-no-discriminator.json => union-base-no-discriminator.qapi} (100%)
rename tests/qapi-schema/{union-branch-case.json => union-branch-case.qapi} (100%)
rename tests/qapi-schema/{union-clash-branches.json => union-clash-branches.qapi} (100%)
rename tests/qapi-schema/{union-empty.json => union-empty.qapi} (100%)
rename tests/qapi-schema/{union-invalid-base.json => union-invalid-base.qapi} (100%)
rename tests/qapi-schema/{union-optional-branch.json => union-optional-branch.qapi} (100%)
rename tests/qapi-schema/{union-unknown.json => union-unknown.qapi} (100%)
rename tests/qapi-schema/{unknown-escape.json => unknown-escape.qapi} (100%)
rename tests/qapi-schema/{unknown-expr-key.json => unknown-expr-key.qapi} (100%)docs/devel/blkdebug.txt +1 -1
@@ -92,7 +92,7 @@ The core events are: flush_to_disk - flush the host block device's disk cache -See qapi/block-core.json:BlkdebugEvent for the full list of events. +See qapi/block-core.qapi:BlkdebugEvent for the full list of events. You may need to grep block driver source code to understand the meaning of specific events.
docs/devel/qapi-code-gen.txt +3 -3
@@ -293,7 +293,7 @@ Usage: { 'include': STRING } The QAPI schema definitions can be modularized using the 'include' directive: - { 'include': 'path/to/file.json' } + { 'include': 'path/to/file.qapi' } The directive is evaluated recursively, and include paths are relative to the file using the directive. Multiple includes of the same file are
@@ -961,7 +961,7 @@ list of that type as a parameter, and returns a single element of that type. The user is responsible for writing the implementation of qmp_my_command(); everything else is produced by the generator. - $ cat example-schema.json + $ cat example-schema.qapi { 'struct': 'UserDefOne', 'data': { 'integer': 'int', '*string': 'str' } }
@@ -977,7 +977,7 @@ We run qapi-gen.py like this: --prefix="example-" example-schema.json For a more thorough look at generated code, the testsuite includes -tests/qapi-schema/qapi-schema-tests.json that covers more examples of +tests/qapi-schema/qapi-schema-tests.qapi that covers more examples of what the generator will accept, and compiles the resulting C code as part of 'make check-unit'.
docs/devel/testing.rst +2 -2
@@ -132,7 +132,7 @@ output. The input/output data is managed under the ``tests/qapi-schema`` directory. Each test case includes four files that have a common base name: - * ``${casename}.json`` - the file contains the JSON input for feeding the + * ``${casename}.qapi`` - the file contains the JSON input for feeding the parser * ``${casename}.out`` - the file contains the expected stdout from the parser * ``${casename}.err`` - the file contains the expected stderr from the parser
@@ -147,7 +147,7 @@ parser (either fixing a bug or extending/modifying the syntax). To do this: 2. Add the new test in ``tests/Makefile.include``. For example: - ``qapi-schema += foo.json`` + ``qapi-schema += foo.qapi`` check-block -----------
docs/devel/writing-qmp-commands.txt +2 -2
@@ -89,7 +89,7 @@ Our command will be called "hello-world". It takes no arguments, nor does it return any data. The first step is defining the command in the appropriate QAPI schema -module. We pick module qapi/misc.json, and add the following line at +module. We pick module qapi/misc.qapi, and add the following line at the bottom: { 'command': 'hello-world' }
@@ -239,7 +239,7 @@ There's only one step missing to make "hello-world"'s implementation complete, and that's its documentation in the schema file. There are many examples of such documentation in the schema file already, but -here goes "hello-world"'s new entry for qapi/misc.json: +here goes "hello-world"'s new entry for qapi/misc.qapi: ## # @hello-world
docs/interop/live-block-operations.rst +2 -2
@@ -20,7 +20,7 @@ primitives, and some (non-exhaustive list of) examples to illustrate their use. .. note:: - The file ``qapi/block-core.json`` in the QEMU source tree has the + The file ``qapi/block-core.qapi`` in the QEMU source tree has the canonical QEMU API (QAPI) schema documentation for the QMP primitives discussed here.
@@ -54,7 +54,7 @@ files in a disk image backing chain: (1) Directional: 'base' and 'top'. Given the simple disk image chain above, image [A] can be referred to as 'base', and image [B] as 'top'. (This terminology can be seen in in QAPI schema file, - block-core.json.) + block-core.qapi.) (2) Relational: 'backing file' and 'overlay'. Again, taking the same simple disk image chain from the above, disk image [A] is referred
docs/interop/qmp-intro.txt +1 -1
@@ -79,7 +79,7 @@ Escape character is '^]'. } Please refer to docs/interop/qemu-qmp-ref.* for a complete command -reference, generated from qapi/qmp-schema.json. +reference, generated from qapi/qmp-schema.qapi. QMP wiki page -------------
Makefile +16 -16
@@ -571,27 +571,27 @@ qga/qapi-generated/qga-qapi-visit.c qga/qapi-generated/qga-qapi-visit.h \ qga/qapi-generated/qga-qapi-commands.h qga/qapi-generated/qga-qapi-commands.c \ qga/qapi-generated/qga-qapi-doc.texi: \ qga/qapi-generated/qga-gen-timestamp ; -qga/qapi-generated/qga-gen-timestamp: $(SRC_PATH)/qapi/qga-schema.json $(qapi-py) +qga/qapi-generated/qga-gen-timestamp: $(SRC_PATH)/qapi/qga-schema.qapi $(qapi-py) $(call quiet-command,$(PYTHON_UTF8) $(SRC_PATH)/scripts/qapi-gen.py \ -o qga/qapi-generated -p "qga-" $<, \ "GEN","$(@:%-timestamp=%)") @>$@ -qmp-modules = $(SRC_PATH)/qapi/qmp-schema.json $(SRC_PATH)/qapi/common.json \ - $(SRC_PATH)/qapi/block.json $(SRC_PATH)/qapi/block-core.json \ - $(SRC_PATH)/qapi/char.json \ - $(SRC_PATH)/qapi/crypto.json \ - $(SRC_PATH)/qapi/introspect.json \ - $(SRC_PATH)/qapi/migration.json \ - $(SRC_PATH)/qapi/misc.json \ - $(SRC_PATH)/qapi/net.json \ - $(SRC_PATH)/qapi/rocker.json \ - $(SRC_PATH)/qapi/run-state.json \ - $(SRC_PATH)/qapi/sockets.json \ - $(SRC_PATH)/qapi/tpm.json \ - $(SRC_PATH)/qapi/trace.json \ - $(SRC_PATH)/qapi/transaction.json \ - $(SRC_PATH)/qapi/ui.json +qmp-modules = $(SRC_PATH)/qapi/qmp-schema.qapi $(SRC_PATH)/qapi/common.qapi \ + $(SRC_PATH)/qapi/block.qapi $(SRC_PATH)/qapi/block-core.qapi \ + $(SRC_PATH)/qapi/char.qapi \ + $(SRC_PATH)/qapi/crypto.qapi \ + $(SRC_PATH)/qapi/introspect.qapi \ + $(SRC_PATH)/qapi/migration.qapi \ + $(SRC_PATH)/qapi/misc.qapi \ + $(SRC_PATH)/qapi/net.qapi \ + $(SRC_PATH)/qapi/rocker.qapi \ + $(SRC_PATH)/qapi/run-state.qapi \ + $(SRC_PATH)/qapi/sockets.qapi \ + $(SRC_PATH)/qapi/tpm.qapi \ + $(SRC_PATH)/qapi/trace.qapi \ + $(SRC_PATH)/qapi/transaction.qapi \ + $(SRC_PATH)/qapi/ui.qapi qapi/qapi-builtin-types.c qapi/qapi-builtin-types.h \ qapi/qapi-types.c qapi/qapi-types.h \
qapi/block-core.qapi renamed from qapi/block-core.json +3 -3
@@ -4,9 +4,9 @@ # == Block core (VM unrelated) ## -{ 'include': 'common.json' } -{ 'include': 'crypto.json' } -{ 'include': 'sockets.json' } +{ 'include': 'common.qapi' } +{ 'include': 'crypto.qapi' } +{ 'include': 'sockets.qapi' } ## # @SnapshotInfo:
qapi/block.qapi renamed from qapi/block.json +1 -1
@@ -4,7 +4,7 @@ # = Block devices ## -{ 'include': 'block-core.json' } +{ 'include': 'block-core.qapi' } ## # == Additional block stuff (VM related)
qapi/char.qapi renamed from qapi/char.json +1 -1
@@ -5,7 +5,7 @@ # = Character devices ## -{ 'include': 'sockets.json' } +{ 'include': 'sockets.qapi' } ## # @ChardevInfo:
qapi/common.qapi renamed from qapi/common.json +0 -0
qapi/crypto.qapi renamed from qapi/crypto.json +0 -0
qapi/introspect.qapi renamed from qapi/introspect.json +0 -0
qapi/migration.qapi renamed from qapi/migration.json +1 -1
@@ -5,7 +5,7 @@ # = Migration ## -{ 'include': 'common.json' } +{ 'include': 'common.qapi' } ## # @MigrationStats:
qapi/misc.qapi renamed from qapi/misc.json +0 -0
qapi/net.qapi renamed from qapi/net.json +1 -1
@@ -5,7 +5,7 @@ # = Net devices ## -{ 'include': 'common.json' } +{ 'include': 'common.qapi' } ## # @set_link:
qapi/qga-schema.qapi renamed from qapi/qga-schema.json +0 -0
qapi/qmp-schema.qapi renamed from qapi/qmp-schema.json +15 -15
@@ -78,18 +78,18 @@ # stable order, it's best to include each sub-schema just once, or # include it first right here. -{ 'include': 'common.json' } -{ 'include': 'sockets.json' } -{ 'include': 'run-state.json' } -{ 'include': 'crypto.json' } -{ 'include': 'block.json' } -{ 'include': 'char.json' } -{ 'include': 'net.json' } -{ 'include': 'rocker.json' } -{ 'include': 'tpm.json' } -{ 'include': 'ui.json' } -{ 'include': 'migration.json' } -{ 'include': 'transaction.json' } -{ 'include': 'trace.json' } -{ 'include': 'introspect.json' } -{ 'include': 'misc.json' } +{ 'include': 'common.qapi' } +{ 'include': 'sockets.qapi' } +{ 'include': 'run-state.qapi' } +{ 'include': 'crypto.qapi' } +{ 'include': 'block.qapi' } +{ 'include': 'char.qapi' } +{ 'include': 'net.qapi' } +{ 'include': 'rocker.qapi' } +{ 'include': 'tpm.qapi' } +{ 'include': 'ui.qapi' } +{ 'include': 'migration.qapi' } +{ 'include': 'transaction.qapi' } +{ 'include': 'trace.qapi' } +{ 'include': 'introspect.qapi' } +{ 'include': 'misc.qapi' }
qapi/rocker.qapi renamed from qapi/rocker.json +0 -0
qapi/run-state.qapi renamed from qapi/run-state.json +0 -0
qapi/sockets.qapi renamed from qapi/sockets.json +1 -1
@@ -4,7 +4,7 @@ # = Socket data types ## -{ 'include': 'common.json' } +{ 'include': 'common.qapi' } ## # @NetworkAddressFamily:
qapi/tpm.qapi renamed from qapi/tpm.json +0 -0
qapi/trace.qapi renamed from qapi/trace.json +0 -0
qapi/transaction.qapi renamed from qapi/transaction.json +1 -1
@@ -5,7 +5,7 @@ # = Transactions ## -{ 'include': 'block.json' } +{ 'include': 'block.qapi' } ## # @Abort:
qapi/ui.qapi renamed from qapi/ui.json +1 -1
@@ -5,7 +5,7 @@ # = Remote desktop ## -{ 'include': 'sockets.json' } +{ 'include': 'sockets.qapi' } ## # @set_password:
include/crypto/block.h +1 -1
@@ -27,7 +27,7 @@typedef struct QCryptoBlock QCryptoBlock ;/* See also QCryptoBlockFormat, QCryptoBlockCreateOptions -* and QCryptoBlockOpenOptions in qapi/crypto.json */ +* and QCryptoBlockOpenOptions in qapi/crypto.qapi */ typedef ssize_t (*QCryptoBlockReadFunc)(QCryptoBlock *block, size_t offset,
include/crypto/cipher.h +1 -1
@@ -26,7 +26,7 @@typedef struct QCryptoCipher QCryptoCipher ;/* See also "QCryptoCipherAlgorithm" and "QCryptoCipherMode" -* enums defined in qapi/crypto.json */ +* enums defined in qapi/crypto.qapi */ /** * QCryptoCipher:
include/crypto/hash.h +1 -1
@@ -23,7 +23,7 @@#include "qapi/qapi-types-crypto.h" -/* See also "QCryptoHashAlgorithm" defined in qapi/crypto.json */ +/* See also "QCryptoHashAlgorithm" defined in qapi/crypto.qapi */ /** * qcrypto_hash_supports:
include/crypto/ivgen.h +1 -1
@@ -97,7 +97,7 @@typedef struct QCryptoIVGen QCryptoIVGen ; -/* See also QCryptoIVGenAlgorithm enum in qapi/crypto.json */ +/* See also QCryptoIVGenAlgorithm enum in qapi/crypto.qapi */ /**
MAINTAINERS +13 -13
@@ -1380,8 +1380,8 @@ M: Markus Armbruster <[email protected]> S: Supported F: blockdev.c F: block/qapi.c -F: qapi/block*.json -F: qapi/transaction.json +F: qapi/block*.qapi +F: qapi/transaction.qapi T: git git://repo.or.cz/qemu/armbru.git block-next Dirty Bitmaps
@@ -1404,7 +1404,7 @@ M: Marc-André Lureau <[email protected]> S: Maintained F: chardev/ F: include/chardev/ -F: qapi/char.json +F: qapi/char.qapi Character Devices (Braille) M: Samuel Thibault <[email protected]>
@@ -1482,14 +1482,14 @@ F: include/ui/spice-display.h F: ui/spice-*.c F: audio/spiceaudio.c F: hw/display/qxl* -F: qapi/ui.json +F: qapi/ui.qapi Graphics M: Gerd Hoffmann <[email protected]> S: Odd Fixes F: ui/ F: include/ui/ -F: qapi/ui.json +F: qapi/ui.qapi Cocoa graphics M: Peter Maydell <[email protected]>
@@ -1503,7 +1503,7 @@ F: cpus.c F: util/main-loop.c F: util/qemu-timer.c F: vl.c -F: qapi/run-state.json +F: qapi/run-state.qapi Human Monitor (HMP) M: Dr. David Alan Gilbert <[email protected]>
@@ -1520,7 +1520,7 @@ S: Maintained F: net/ F: include/net/ T: git git://github.com/jasowang/qemu.git net -F: qapi/net.json +F: qapi/net.qapi Netmap network backend M: Luigi Rizzo <[email protected]>
@@ -1564,7 +1564,7 @@ M: Markus Armbruster <[email protected]> M: Michael Roth <[email protected]> S: Supported F: qapi/ -X: qapi/*.json +X: qapi/*.qapi F: include/qapi/ X: include/qapi/qmp/ F: include/qapi/qmp/dispatch.h
@@ -1581,7 +1581,7 @@ QAPI Schema M: Eric Blake <[email protected]> M: Markus Armbruster <[email protected]> S: Supported -F: qapi/*.json +F: qapi/*.qapi T: git git://repo.or.cz/qemu/armbru.git qapi-next QObject
@@ -1602,7 +1602,7 @@ QEMU Guest Agent M: Michael Roth <[email protected]> S: Maintained F: qga/ -F: qapi/qga-schema.json +F: qapi/qga-schema.qapi F: qemu-ga.texi F: scripts/qemu-guest-agent/ F: tests/test-qga.c
@@ -1669,7 +1669,7 @@ F: stubs/tpm.c F: hw/tpm/* F: include/hw/acpi/tpm.h F: include/sysemu/tpm* -F: qapi/tpm.json +F: qapi/tpm.qapi F: backends/tpm.c F: tests/*tpm* T: git git://github.com/stefanberger/qemu-tpm.git tpm-next
@@ -1688,7 +1688,7 @@ F: scripts/vmstate-static-checker.py F: tests/vmstate-static-checker-data/ F: tests/migration-test.c F: docs/devel/migration.txt -F: qapi/migration.json +F: qapi/migration.qapi Seccomp M: Eduardo Otubo <[email protected]>
@@ -1732,7 +1732,7 @@ M: Paolo Bonzini <[email protected]> S: Maintained F: include/qemu/sockets.h F: util/qemu-sockets.c -F: qapi/sockets.json +F: qapi/sockets.qapi Throttling infrastructure M: Alberto Garcia <[email protected]>
scripts/git.orderfile +1 -1
@@ -19,7 +19,7 @@ Makefile* *.mak # qapi schema -*.json +*.qapi # headers *.h
tests/Makefile.include +168 -168
359 lines not on this page · raw message
tests/qapi-schema/alternate-any.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-any.json:2: Alternate 'Alt' member 'one' cannot use type 'any' +tests/qapi-schema/alternate-any.qapi:2: Alternate 'Alt' member 'one' cannot use type 'any'
tests/qapi-schema/alternate-any.qapi renamed from tests/qapi-schema/alternate-any.json +0 -0
tests/qapi-schema/alternate-array.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-array.json:5: Member 'two' of alternate 'Alt' cannot be an array +tests/qapi-schema/alternate-array.qapi:5: Member 'two' of alternate 'Alt' cannot be an array
tests/qapi-schema/alternate-array.qapi renamed from tests/qapi-schema/alternate-array.json +0 -0
tests/qapi-schema/alternate-base.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-base.json:4: Unknown key 'base' in alternate 'Alt' +tests/qapi-schema/alternate-base.qapi:4: Unknown key 'base' in alternate 'Alt'
tests/qapi-schema/alternate-base.qapi renamed from tests/qapi-schema/alternate-base.json +0 -0
tests/qapi-schema/alternate-clash.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-clash.json:7: 'a_b' (branch of Alt1) collides with 'a-b' (branch of Alt1) +tests/qapi-schema/alternate-clash.qapi:7: 'a_b' (branch of Alt1) collides with 'a-b' (branch of Alt1)
tests/qapi-schema/alternate-clash.qapi renamed from tests/qapi-schema/alternate-clash.json +0 -0
tests/qapi-schema/alternate-conflict-bool-string.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-bool-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-bool-string.qapi:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
tests/qapi-schema/alternate-conflict-bool-string.qapi renamed from tests/qapi-schema/alternate-conflict-bool-string.json +0 -0
tests/qapi-schema/alternate-conflict-dict.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-dict.json:6: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-dict.qapi:6: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
tests/qapi-schema/alternate-conflict-dict.qapi renamed from tests/qapi-schema/alternate-conflict-dict.json +0 -0
tests/qapi-schema/alternate-conflict-enum-bool.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-enum-bool.json:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-enum-bool.qapi:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
tests/qapi-schema/alternate-conflict-enum-bool.qapi renamed from tests/qapi-schema/alternate-conflict-enum-bool.json +0 -0
tests/qapi-schema/alternate-conflict-enum-int.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-enum-int.json:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-enum-int.qapi:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
tests/qapi-schema/alternate-conflict-enum-int.qapi renamed from tests/qapi-schema/alternate-conflict-enum-int.json +0 -0
tests/qapi-schema/alternate-conflict-num-string.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-num-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-num-string.qapi:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
tests/qapi-schema/alternate-conflict-num-string.qapi renamed from tests/qapi-schema/alternate-conflict-num-string.json +0 -0
tests/qapi-schema/alternate-conflict-string.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-string.qapi:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'
tests/qapi-schema/alternate-conflict-string.qapi renamed from tests/qapi-schema/alternate-conflict-string.json +0 -0
tests/qapi-schema/alternate-empty.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-empty.json:2: Alternate 'Alt' should have at least two branches in 'data' +tests/qapi-schema/alternate-empty.qapi:2: Alternate 'Alt' should have at least two branches in 'data'
tests/qapi-schema/alternate-empty.qapi renamed from tests/qapi-schema/alternate-empty.json +0 -0
tests/qapi-schema/alternate-nested.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-nested.json:4: Member 'nested' of alternate 'Alt2' cannot use alternate type 'Alt1' +tests/qapi-schema/alternate-nested.qapi:4: Member 'nested' of alternate 'Alt2' cannot use alternate type 'Alt1'
tests/qapi-schema/alternate-nested.qapi renamed from tests/qapi-schema/alternate-nested.json +0 -0
tests/qapi-schema/alternate-unknown.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/alternate-unknown.json:2: Member 'unknown' of alternate 'Alt' uses unknown type 'MissingType' +tests/qapi-schema/alternate-unknown.qapi:2: Member 'unknown' of alternate 'Alt' uses unknown type 'MissingType'
tests/qapi-schema/alternate-unknown.qapi renamed from tests/qapi-schema/alternate-unknown.json +0 -0
tests/qapi-schema/args-alternate.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-alternate.json:3: 'data' for command 'oops' cannot use alternate type 'Alt' +tests/qapi-schema/args-alternate.qapi:3: 'data' for command 'oops' cannot use alternate type 'Alt'
tests/qapi-schema/args-alternate.qapi renamed from tests/qapi-schema/args-alternate.json +0 -0
tests/qapi-schema/args-any.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-any.json:2: 'data' for command 'oops' cannot use built-in type 'any' +tests/qapi-schema/args-any.qapi:2: 'data' for command 'oops' cannot use built-in type 'any'
tests/qapi-schema/args-any.qapi renamed from tests/qapi-schema/args-any.json +0 -0
tests/qapi-schema/args-array-empty.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-array-empty.json:2: Member 'empty' of 'data' for command 'oops': array type must contain single type name +tests/qapi-schema/args-array-empty.qapi:2: Member 'empty' of 'data' for command 'oops': array type must contain single type name
tests/qapi-schema/args-array-empty.qapi renamed from tests/qapi-schema/args-array-empty.json +0 -0
tests/qapi-schema/args-array-unknown.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-array-unknown.json:2: Member 'array' of 'data' for command 'oops' uses unknown type 'NoSuchType' +tests/qapi-schema/args-array-unknown.qapi:2: Member 'array' of 'data' for command 'oops' uses unknown type 'NoSuchType'
tests/qapi-schema/args-array-unknown.qapi renamed from tests/qapi-schema/args-array-unknown.json +0 -0
tests/qapi-schema/args-bad-boxed.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-bad-boxed.json:2: 'boxed' of command 'foo' should only use true value +tests/qapi-schema/args-bad-boxed.qapi:2: 'boxed' of command 'foo' should only use true value
tests/qapi-schema/args-bad-boxed.qapi renamed from tests/qapi-schema/args-bad-boxed.json +0 -0
tests/qapi-schema/args-boxed-anon.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-boxed-anon.json:2: 'data' for command 'foo' should be a type name +tests/qapi-schema/args-boxed-anon.qapi:2: 'data' for command 'foo' should be a type name
tests/qapi-schema/args-boxed-anon.qapi renamed from tests/qapi-schema/args-boxed-anon.json +0 -0
tests/qapi-schema/args-boxed-empty.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-boxed-empty.json:3: Cannot use 'boxed' with empty type +tests/qapi-schema/args-boxed-empty.qapi:3: Cannot use 'boxed' with empty type
tests/qapi-schema/args-boxed-empty.qapi renamed from tests/qapi-schema/args-boxed-empty.json +0 -0
tests/qapi-schema/args-boxed-string.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-boxed-string.json:2: 'data' for command 'foo' cannot use built-in type 'str' +tests/qapi-schema/args-boxed-string.qapi:2: 'data' for command 'foo' cannot use built-in type 'str'
tests/qapi-schema/args-boxed-string.qapi renamed from tests/qapi-schema/args-boxed-string.json +0 -0
tests/qapi-schema/args-int.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-int.json:2: 'data' for command 'oops' cannot use built-in type 'int' +tests/qapi-schema/args-int.qapi:2: 'data' for command 'oops' cannot use built-in type 'int'
tests/qapi-schema/args-int.qapi renamed from tests/qapi-schema/args-int.json +0 -0
tests/qapi-schema/args-invalid.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-invalid.json:1: 'data' for command 'foo' should be a dictionary or type name +tests/qapi-schema/args-invalid.qapi:1: 'data' for command 'foo' should be a dictionary or type name
tests/qapi-schema/args-invalid.qapi renamed from tests/qapi-schema/args-invalid.json +0 -0
tests/qapi-schema/args-member-array-bad.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-member-array-bad.json:2: Member 'member' of 'data' for command 'oops': array type must contain single type name +tests/qapi-schema/args-member-array-bad.qapi:2: Member 'member' of 'data' for command 'oops': array type must contain single type name
tests/qapi-schema/args-member-array-bad.qapi renamed from tests/qapi-schema/args-member-array-bad.json +0 -0
tests/qapi-schema/args-member-case.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-member-case.json:2: 'Arg' (parameter of no-way-this-will-get-whitelisted) should not use uppercase +tests/qapi-schema/args-member-case.qapi:2: 'Arg' (parameter of no-way-this-will-get-whitelisted) should not use uppercase
tests/qapi-schema/args-member-case.qapi renamed from tests/qapi-schema/args-member-case.json +0 -0
tests/qapi-schema/args-member-unknown.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-member-unknown.json:2: Member 'member' of 'data' for command 'oops' uses unknown type 'NoSuchType' +tests/qapi-schema/args-member-unknown.qapi:2: Member 'member' of 'data' for command 'oops' uses unknown type 'NoSuchType'
tests/qapi-schema/args-member-unknown.qapi renamed from tests/qapi-schema/args-member-unknown.json +0 -0
tests/qapi-schema/args-name-clash.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-name-clash.json:4: 'a_b' (parameter of oops) collides with 'a-b' (parameter of oops) +tests/qapi-schema/args-name-clash.qapi:4: 'a_b' (parameter of oops) collides with 'a-b' (parameter of oops)
tests/qapi-schema/args-name-clash.qapi renamed from tests/qapi-schema/args-name-clash.json +0 -0
tests/qapi-schema/args-union.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-union.json:3: 'data' for command 'oops' cannot use union type 'Uni' +tests/qapi-schema/args-union.qapi:3: 'data' for command 'oops' cannot use union type 'Uni'
tests/qapi-schema/args-union.qapi renamed from tests/qapi-schema/args-union.json +0 -0
tests/qapi-schema/args-unknown.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/args-unknown.json:2: 'data' for command 'oops' uses unknown type 'NoSuchType' +tests/qapi-schema/args-unknown.qapi:2: 'data' for command 'oops' uses unknown type 'NoSuchType'
tests/qapi-schema/args-unknown.qapi renamed from tests/qapi-schema/args-unknown.json +0 -0
tests/qapi-schema/bad-base.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/bad-base.json:3: 'base' for struct 'MyType' cannot use union type 'Union' +tests/qapi-schema/bad-base.qapi:3: 'base' for struct 'MyType' cannot use union type 'Union'
tests/qapi-schema/bad-base.qapi renamed from tests/qapi-schema/bad-base.json +0 -0
tests/qapi-schema/bad-data.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/bad-data.json:2: 'data' for command 'oops' cannot be an array +tests/qapi-schema/bad-data.qapi:2: 'data' for command 'oops' cannot be an array
tests/qapi-schema/bad-data.qapi renamed from tests/qapi-schema/bad-data.json +0 -0
tests/qapi-schema/bad-ident.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/bad-ident.json:2: 'struct' does not allow optional name '*oops' +tests/qapi-schema/bad-ident.qapi:2: 'struct' does not allow optional name '*oops'
tests/qapi-schema/bad-ident.qapi renamed from tests/qapi-schema/bad-ident.json +0 -0
tests/qapi-schema/bad-type-bool.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/bad-type-bool.json:2: 'struct' key must have a string value +tests/qapi-schema/bad-type-bool.qapi:2: 'struct' key must have a string value
tests/qapi-schema/bad-type-bool.qapi renamed from tests/qapi-schema/bad-type-bool.json +0 -0
tests/qapi-schema/bad-type-dict.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/bad-type-dict.json:2: 'command' key must have a string value +tests/qapi-schema/bad-type-dict.qapi:2: 'command' key must have a string value
tests/qapi-schema/bad-type-dict.qapi renamed from tests/qapi-schema/bad-type-dict.json +0 -0
tests/qapi-schema/bad-type-int.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/bad-type-int.json:3:13: Stray "1" +tests/qapi-schema/bad-type-int.qapi:3:13: Stray "1"
tests/qapi-schema/bad-type-int.qapi renamed from tests/qapi-schema/bad-type-int.json +0 -0
tests/qapi-schema/base-cycle-direct.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/base-cycle-direct.json:2: Object Loopy contains itself +tests/qapi-schema/base-cycle-direct.qapi:2: Object Loopy contains itself
tests/qapi-schema/base-cycle-direct.qapi renamed from tests/qapi-schema/base-cycle-direct.json +0 -0
tests/qapi-schema/base-cycle-indirect.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/base-cycle-indirect.json:2: Object Base1 contains itself +tests/qapi-schema/base-cycle-indirect.qapi:2: Object Base1 contains itself
tests/qapi-schema/base-cycle-indirect.qapi renamed from tests/qapi-schema/base-cycle-indirect.json +0 -0
tests/qapi-schema/command-int.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/command-int.json:2: built-in 'int' is already defined +tests/qapi-schema/command-int.qapi:2: built-in 'int' is already defined
tests/qapi-schema/command-int.qapi renamed from tests/qapi-schema/command-int.json +0 -0
tests/qapi-schema/comments.out +1 -1
@@ -1,5 +1,5 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module comments.json +module comments.qapi enum Status ['good', 'bad', 'ugly']
tests/qapi-schema/comments.qapi renamed from tests/qapi-schema/comments.json +0 -0
tests/qapi-schema/doc-bad-alternate-member.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-bad-alternate-member.json:3: The following documented members are not in the declaration: aa, bb +tests/qapi-schema/doc-bad-alternate-member.qapi:3: The following documented members are not in the declaration: aa, bb
tests/qapi-schema/doc-bad-alternate-member.qapi renamed from tests/qapi-schema/doc-bad-alternate-member.json +0 -0
tests/qapi-schema/doc-bad-command-arg.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-bad-command-arg.json:3: The following documented members are not in the declaration: b +tests/qapi-schema/doc-bad-command-arg.qapi:3: The following documented members are not in the declaration: b
tests/qapi-schema/doc-bad-command-arg.qapi renamed from tests/qapi-schema/doc-bad-command-arg.json +0 -0
tests/qapi-schema/doc-bad-section.out +1 -1
@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module doc-bad-section.json +module doc-bad-section.qapi enum Enum ['one', 'two'] doc symbol=Enum body=
tests/qapi-schema/doc-bad-section.qapi renamed from tests/qapi-schema/doc-bad-section.json +0 -0
tests/qapi-schema/doc-bad-symbol.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-bad-symbol.json:6: Definition of 'foo' follows documentation for 'food' +tests/qapi-schema/doc-bad-symbol.qapi:6: Definition of 'foo' follows documentation for 'food'
tests/qapi-schema/doc-bad-symbol.qapi renamed from tests/qapi-schema/doc-bad-symbol.json +0 -0
tests/qapi-schema/doc-bad-union-member.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-bad-union-member.json:3: The following documented members are not in the declaration: a, b +tests/qapi-schema/doc-bad-union-member.qapi:3: The following documented members are not in the declaration: a, b
tests/qapi-schema/doc-bad-union-member.qapi renamed from tests/qapi-schema/doc-bad-union-member.json +0 -0
tests/qapi-schema/doc-before-include.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-before-include.json:3: Documentation for 'foo' is not followed by the definition +tests/qapi-schema/doc-before-include.qapi:3: Documentation for 'foo' is not followed by the definition
tests/qapi-schema/doc-before-include.qapi renamed from tests/qapi-schema/doc-before-include.json +1 -1
@@ -3,5 +3,5 @@ ## # @foo: ## -{ 'include': 'empty.json' } +{ 'include': 'empty.qapi' } { 'struct': 'foo', 'data': {} }
tests/qapi-schema/doc-before-pragma.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-before-pragma.json:3: Documentation for 'foo' is not followed by the definition +tests/qapi-schema/doc-before-pragma.qapi:3: Documentation for 'foo' is not followed by the definition
tests/qapi-schema/doc-before-pragma.qapi renamed from tests/qapi-schema/doc-before-pragma.json +0 -0
tests/qapi-schema/doc-duplicated-arg.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-duplicated-arg.json:6:1: 'a' parameter name duplicated +tests/qapi-schema/doc-duplicated-arg.qapi:6:1: 'a' parameter name duplicated
tests/qapi-schema/doc-duplicated-arg.qapi renamed from tests/qapi-schema/doc-duplicated-arg.json +0 -0
tests/qapi-schema/doc-duplicated-return.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-duplicated-return.json:7:1: Duplicated 'Returns' section +tests/qapi-schema/doc-duplicated-return.qapi:7:1: Duplicated 'Returns' section
tests/qapi-schema/doc-duplicated-return.qapi renamed from tests/qapi-schema/doc-duplicated-return.json +0 -0
tests/qapi-schema/doc-duplicated-since.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-duplicated-since.json:7:1: Duplicated 'Since' section +tests/qapi-schema/doc-duplicated-since.qapi:7:1: Duplicated 'Since' section
tests/qapi-schema/doc-duplicated-since.qapi renamed from tests/qapi-schema/doc-duplicated-since.json +0 -0
tests/qapi-schema/doc-empty-arg.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-empty-arg.json:5:1: Invalid parameter name +tests/qapi-schema/doc-empty-arg.qapi:5:1: Invalid parameter name
tests/qapi-schema/doc-empty-arg.qapi renamed from tests/qapi-schema/doc-empty-arg.json +0 -0
tests/qapi-schema/doc-empty-section.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-empty-section.json:7:1: Empty doc section 'Note' +tests/qapi-schema/doc-empty-section.qapi:7:1: Empty doc section 'Note'
tests/qapi-schema/doc-empty-section.qapi renamed from tests/qapi-schema/doc-empty-section.json +0 -0
tests/qapi-schema/doc-empty-symbol.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-empty-symbol.json:4:1: Invalid name +tests/qapi-schema/doc-empty-symbol.qapi:4:1: Invalid name
tests/qapi-schema/doc-empty-symbol.qapi renamed from tests/qapi-schema/doc-empty-symbol.json +0 -0
tests/qapi-schema/doc-good.out +1 -1
@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module doc-good.json +module doc-good.qapi enum Enum ['one', 'two'] object Base member base1: Enum optional=False
tests/qapi-schema/doc-good.qapi renamed from tests/qapi-schema/doc-good.json +0 -0
tests/qapi-schema/doc-interleaved-section.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-interleaved-section.json:15:1: '@foobar:' can't follow 'Note' section +tests/qapi-schema/doc-interleaved-section.qapi:15:1: '@foobar:' can't follow 'Note' section
tests/qapi-schema/doc-interleaved-section.qapi renamed from tests/qapi-schema/doc-interleaved-section.json +0 -0
tests/qapi-schema/doc-invalid-end.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-end.json:5:2: Documentation comment must end with '##' +tests/qapi-schema/doc-invalid-end.qapi:5:2: Documentation comment must end with '##'
tests/qapi-schema/doc-invalid-end.qapi renamed from tests/qapi-schema/doc-invalid-end.json +0 -0
tests/qapi-schema/doc-invalid-end2.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-end2.json:5:1: Junk after '##' at end of documentation comment +tests/qapi-schema/doc-invalid-end2.qapi:5:1: Junk after '##' at end of documentation comment
tests/qapi-schema/doc-invalid-end2.qapi renamed from tests/qapi-schema/doc-invalid-end2.json +0 -0
tests/qapi-schema/doc-invalid-return.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-return.json:3: 'Returns:' is only valid for commands +tests/qapi-schema/doc-invalid-return.qapi:3: 'Returns:' is only valid for commands
tests/qapi-schema/doc-invalid-return.qapi renamed from tests/qapi-schema/doc-invalid-return.json +0 -0
tests/qapi-schema/doc-invalid-section.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-section.json:5:1: '@note:' not allowed in free-form documentation +tests/qapi-schema/doc-invalid-section.qapi:5:1: '@note:' not allowed in free-form documentation
tests/qapi-schema/doc-invalid-section.qapi renamed from tests/qapi-schema/doc-invalid-section.json +0 -0
tests/qapi-schema/doc-invalid-start.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-start.json:3:1: Junk after '##' at start of documentation comment +tests/qapi-schema/doc-invalid-start.qapi:3:1: Junk after '##' at start of documentation comment
tests/qapi-schema/doc-invalid-start.qapi renamed from tests/qapi-schema/doc-invalid-start.json +0 -0
tests/qapi-schema/doc-missing-colon.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-missing-colon.json:4:1: Line should end with : +tests/qapi-schema/doc-missing-colon.qapi:4:1: Line should end with :
tests/qapi-schema/doc-missing-colon.qapi renamed from tests/qapi-schema/doc-missing-colon.json +0 -0
tests/qapi-schema/doc-missing-expr.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-missing-expr.json:3: Documentation for 'bar' is not followed by the definition +tests/qapi-schema/doc-missing-expr.qapi:3: Documentation for 'bar' is not followed by the definition
tests/qapi-schema/doc-missing-expr.qapi renamed from tests/qapi-schema/doc-missing-expr.json +0 -0
tests/qapi-schema/doc-missing-space.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-missing-space.json:5:1: Missing space after # +tests/qapi-schema/doc-missing-space.qapi:5:1: Missing space after #
tests/qapi-schema/doc-missing-space.qapi renamed from tests/qapi-schema/doc-missing-space.json +0 -0
tests/qapi-schema/doc-missing.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-missing.json:5: Expression missing documentation comment +tests/qapi-schema/doc-missing.qapi:5: Expression missing documentation comment
tests/qapi-schema/doc-missing.qapi renamed from tests/qapi-schema/doc-missing.json +0 -0
tests/qapi-schema/doc-no-symbol.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/doc-no-symbol.json:3: Expression documentation required +tests/qapi-schema/doc-no-symbol.qapi:3: Expression documentation required
tests/qapi-schema/doc-no-symbol.qapi renamed from tests/qapi-schema/doc-no-symbol.json +0 -0
tests/qapi-schema/double-data.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/double-data.json:2:41: Duplicate key "data" +tests/qapi-schema/double-data.qapi:2:41: Duplicate key "data"
tests/qapi-schema/double-data.qapi renamed from tests/qapi-schema/double-data.json +0 -0
tests/qapi-schema/double-type.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/double-type.json:2: Unknown key 'command' in struct 'bar' +tests/qapi-schema/double-type.qapi:2: Unknown key 'command' in struct 'bar'
tests/qapi-schema/double-type.qapi renamed from tests/qapi-schema/double-type.json +0 -0
tests/qapi-schema/duplicate-key.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/duplicate-key.json:3:10: Duplicate key "key" +tests/qapi-schema/duplicate-key.qapi:3:10: Duplicate key "key"
tests/qapi-schema/duplicate-key.qapi renamed from tests/qapi-schema/duplicate-key.json +0 -0
tests/qapi-schema/empty.qapi renamed from tests/qapi-schema/empty.json +0 -0
tests/qapi-schema/enum-bad-name.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/enum-bad-name.json:2: Member of enum 'MyEnum' uses invalid name 'not^possible' +tests/qapi-schema/enum-bad-name.qapi:2: Member of enum 'MyEnum' uses invalid name 'not^possible'
tests/qapi-schema/enum-bad-name.qapi renamed from tests/qapi-schema/enum-bad-name.json +0 -0
tests/qapi-schema/enum-bad-prefix.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/enum-bad-prefix.json:2: Enum 'MyEnum' requires a string for 'prefix' +tests/qapi-schema/enum-bad-prefix.qapi:2: Enum 'MyEnum' requires a string for 'prefix'
tests/qapi-schema/enum-bad-prefix.qapi renamed from tests/qapi-schema/enum-bad-prefix.json +0 -0
tests/qapi-schema/enum-clash-member.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/enum-clash-member.json:2: 'one_two' (member of MyEnum) collides with 'one-two' (member of MyEnum) +tests/qapi-schema/enum-clash-member.qapi:2: 'one_two' (member of MyEnum) collides with 'one-two' (member of MyEnum)
tests/qapi-schema/enum-clash-member.qapi renamed from tests/qapi-schema/enum-clash-member.json +0 -0
tests/qapi-schema/enum-dict-member.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/enum-dict-member.json:2: Member of enum 'MyEnum' requires a string name +tests/qapi-schema/enum-dict-member.qapi:2: Member of enum 'MyEnum' requires a string name
tests/qapi-schema/enum-dict-member.qapi renamed from tests/qapi-schema/enum-dict-member.json +0 -0
tests/qapi-schema/enum-int-member.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/enum-int-member.json:3:31: Stray "1" +tests/qapi-schema/enum-int-member.qapi:3:31: Stray "1"
tests/qapi-schema/enum-int-member.qapi renamed from tests/qapi-schema/enum-int-member.json +0 -0
tests/qapi-schema/enum-member-case.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/enum-member-case.json:4: 'Value' (member of NoWayThisWillGetWhitelisted) should not use uppercase +tests/qapi-schema/enum-member-case.qapi:4: 'Value' (member of NoWayThisWillGetWhitelisted) should not use uppercase
tests/qapi-schema/enum-member-case.qapi renamed from tests/qapi-schema/enum-member-case.json +0 -0
tests/qapi-schema/enum-missing-data.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/enum-missing-data.json:2: Key 'data' is missing from enum 'MyEnum' +tests/qapi-schema/enum-missing-data.qapi:2: Key 'data' is missing from enum 'MyEnum'
tests/qapi-schema/enum-missing-data.qapi renamed from tests/qapi-schema/enum-missing-data.json +0 -0
tests/qapi-schema/enum-wrong-data.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/enum-wrong-data.json:2: Enum 'MyEnum' requires an array for 'data' +tests/qapi-schema/enum-wrong-data.qapi:2: Enum 'MyEnum' requires an array for 'data'
tests/qapi-schema/enum-wrong-data.qapi renamed from tests/qapi-schema/enum-wrong-data.json +0 -0
tests/qapi-schema/escape-outside-string.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/escape-outside-string.json:3:27: Stray "\" +tests/qapi-schema/escape-outside-string.qapi:3:27: Stray "\"
tests/qapi-schema/escape-outside-string.qapi renamed from tests/qapi-schema/escape-outside-string.json +0 -0
tests/qapi-schema/escape-too-big.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/escape-too-big.json:3:14: For now, \u escape only supports non-zero values up to \u007f +tests/qapi-schema/escape-too-big.qapi:3:14: For now, \u escape only supports non-zero values up to \u007f
tests/qapi-schema/escape-too-big.qapi renamed from tests/qapi-schema/escape-too-big.json +0 -0
tests/qapi-schema/escape-too-short.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/escape-too-short.json:3:14: \u escape needs 4 hex digits +tests/qapi-schema/escape-too-short.qapi:3:14: \u escape needs 4 hex digits
tests/qapi-schema/escape-too-short.qapi renamed from tests/qapi-schema/escape-too-short.json +0 -0
tests/qapi-schema/event-boxed-empty.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/event-boxed-empty.json:2: Use of 'boxed' requires 'data' +tests/qapi-schema/event-boxed-empty.qapi:2: Use of 'boxed' requires 'data'
tests/qapi-schema/event-boxed-empty.qapi renamed from tests/qapi-schema/event-boxed-empty.json +0 -0
tests/qapi-schema/event-case.out +1 -1
@@ -1,6 +1,6 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module event-case.json +module event-case.qapi event oops None boxed=False
tests/qapi-schema/event-case.qapi renamed from tests/qapi-schema/event-case.json +0 -0
tests/qapi-schema/event-nest-struct.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/event-nest-struct.json:1: Member 'a' of 'data' for event 'EVENT_A' should be a type name +tests/qapi-schema/event-nest-struct.qapi:1: Member 'a' of 'data' for event 'EVENT_A' should be a type name
tests/qapi-schema/event-nest-struct.qapi renamed from tests/qapi-schema/event-nest-struct.json +0 -0
tests/qapi-schema/flat-union-array-branch.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-array-branch.json:8: Member 'value1' of union 'TestUnion' cannot be an array +tests/qapi-schema/flat-union-array-branch.qapi:8: Member 'value1' of union 'TestUnion' cannot be an array
tests/qapi-schema/flat-union-array-branch.qapi renamed from tests/qapi-schema/flat-union-array-branch.json +0 -0
tests/qapi-schema/flat-union-bad-base.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-bad-base.json:8: 'string' (member of TestTypeA) collides with 'string' (base of TestUnion) +tests/qapi-schema/flat-union-bad-base.qapi:8: 'string' (member of TestTypeA) collides with 'string' (base of TestUnion)
tests/qapi-schema/flat-union-bad-base.qapi renamed from tests/qapi-schema/flat-union-bad-base.json +0 -0
tests/qapi-schema/flat-union-bad-discriminator.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-bad-discriminator.json:11: Discriminator of flat union 'TestUnion' requires a string name +tests/qapi-schema/flat-union-bad-discriminator.qapi:11: Discriminator of flat union 'TestUnion' requires a string name
tests/qapi-schema/flat-union-bad-discriminator.qapi renamed from tests/qapi-schema/flat-union-bad-discriminator.json +0 -0
tests/qapi-schema/flat-union-base-any.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-base-any.json:8: 'base' for union 'TestUnion' cannot use built-in type 'any' +tests/qapi-schema/flat-union-base-any.qapi:8: 'base' for union 'TestUnion' cannot use built-in type 'any'
tests/qapi-schema/flat-union-base-any.qapi renamed from tests/qapi-schema/flat-union-base-any.json +0 -0
tests/qapi-schema/flat-union-base-union.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-base-union.json:14: 'base' for union 'TestUnion' cannot use union type 'UnionBase' +tests/qapi-schema/flat-union-base-union.qapi:14: 'base' for union 'TestUnion' cannot use union type 'UnionBase'
tests/qapi-schema/flat-union-base-union.qapi renamed from tests/qapi-schema/flat-union-base-union.json +0 -0
tests/qapi-schema/flat-union-clash-member.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-clash-member.json:11: 'name' (member of Branch1) collides with 'name' (member of Base) +tests/qapi-schema/flat-union-clash-member.qapi:11: 'name' (member of Branch1) collides with 'name' (member of Base)
tests/qapi-schema/flat-union-clash-member.qapi renamed from tests/qapi-schema/flat-union-clash-member.json +0 -0
tests/qapi-schema/flat-union-empty.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-empty.json:4: Union 'Union' cannot have empty 'data' +tests/qapi-schema/flat-union-empty.qapi:4: Union 'Union' cannot have empty 'data'
tests/qapi-schema/flat-union-empty.qapi renamed from tests/qapi-schema/flat-union-empty.json +0 -0
tests/qapi-schema/flat-union-incomplete-branch.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-incomplete-branch.json:6: Union 'TestUnion' data missing 'value2' branch +tests/qapi-schema/flat-union-incomplete-branch.qapi:6: Union 'TestUnion' data missing 'value2' branch
tests/qapi-schema/flat-union-incomplete-branch.qapi renamed from tests/qapi-schema/flat-union-incomplete-branch.json +0 -0
tests/qapi-schema/flat-union-inline.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-inline.json:7: Member 'value1' of union 'TestUnion' should be a type name +tests/qapi-schema/flat-union-inline.qapi:7: Member 'value1' of union 'TestUnion' should be a type name
tests/qapi-schema/flat-union-inline.qapi renamed from tests/qapi-schema/flat-union-inline.json +0 -0
tests/qapi-schema/flat-union-int-branch.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-int-branch.json:8: Member 'value1' of union 'TestUnion' cannot use built-in type 'int' +tests/qapi-schema/flat-union-int-branch.qapi:8: Member 'value1' of union 'TestUnion' cannot use built-in type 'int'
tests/qapi-schema/flat-union-int-branch.qapi renamed from tests/qapi-schema/flat-union-int-branch.json +0 -0
tests/qapi-schema/flat-union-invalid-branch-key.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-invalid-branch-key.json:13: Discriminator value 'value_wrong' is not found in enum 'TestEnum' +tests/qapi-schema/flat-union-invalid-branch-key.qapi:13: Discriminator value 'value_wrong' is not found in enum 'TestEnum'
tests/qapi-schema/flat-union-invalid-branch-key.qapi renamed from tests/qapi-schema/flat-union-invalid-branch-key.json +0 -0
tests/qapi-schema/flat-union-invalid-discriminator.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-invalid-discriminator.json:13: Discriminator 'enum_wrong' is not a member of base struct 'TestBase' +tests/qapi-schema/flat-union-invalid-discriminator.qapi:13: Discriminator 'enum_wrong' is not a member of base struct 'TestBase'
tests/qapi-schema/flat-union-invalid-discriminator.qapi renamed from tests/qapi-schema/flat-union-invalid-discriminator.json +0 -0
tests/qapi-schema/flat-union-no-base.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-no-base.json:9: Flat union 'TestUnion' must have a base +tests/qapi-schema/flat-union-no-base.qapi:9: Flat union 'TestUnion' must have a base
tests/qapi-schema/flat-union-no-base.qapi renamed from tests/qapi-schema/flat-union-no-base.json +0 -0
tests/qapi-schema/flat-union-optional-discriminator.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-optional-discriminator.json:6: Discriminator of flat union 'MyUnion' does not allow optional name '*switch' +tests/qapi-schema/flat-union-optional-discriminator.qapi:6: Discriminator of flat union 'MyUnion' does not allow optional name '*switch'
tests/qapi-schema/flat-union-optional-discriminator.qapi renamed from tests/qapi-schema/flat-union-optional-discriminator.json +0 -0
tests/qapi-schema/flat-union-string-discriminator.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/flat-union-string-discriminator.json:13: Discriminator 'kind' must be of enumeration type +tests/qapi-schema/flat-union-string-discriminator.qapi:13: Discriminator 'kind' must be of enumeration type
tests/qapi-schema/flat-union-string-discriminator.qapi renamed from tests/qapi-schema/flat-union-string-discriminator.json +0 -0
tests/qapi-schema/funny-char.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/funny-char.json:2:36: Stray ";" +tests/qapi-schema/funny-char.qapi:2:36: Stray ";"
tests/qapi-schema/funny-char.qapi renamed from tests/qapi-schema/funny-char.json +0 -0
tests/qapi-schema/ident-with-escape.out +1 -1
@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module ident-with-escape.json +module ident-with-escape.qapi object q_obj_fooA-arg member bar1: str optional=False command fooA q_obj_fooA-arg -> None
tests/qapi-schema/ident-with-escape.qapi renamed from tests/qapi-schema/ident-with-escape.json +0 -0
tests/qapi-schema/include-before-err.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/include-before-err.json:2:13: Expected ":" +tests/qapi-schema/include-before-err.qapi:2:13: Expected ":"
tests/qapi-schema/include-before-err.json deleted +0 -2
@@ -1,2 +0,0 @@ -{ 'include': 'include-simple-sub.json' } -{ 'command' 'missing-colon' }
tests/qapi-schema/include-before-err.qapi new file +2 -0
@@ -0,0 +1,2 @@ +{ 'include': 'include-simple-sub.qapi' } +{ 'command' 'missing-colon' }
tests/qapi-schema/include-cycle-b.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': 'include-cycle-c.json' }
tests/qapi-schema/include-cycle-b.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': 'include-cycle-c.qapi' }
tests/qapi-schema/include-cycle-c.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': 'include-cycle.json' }
tests/qapi-schema/include-cycle-c.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': 'include-cycle.qapi' }
tests/qapi-schema/include-cycle.err +3 -3
@@ -1,3 +1,3 @@ -In file included from tests/qapi-schema/include-cycle.json:1: -In file included from tests/qapi-schema/include-cycle-b.json:1: -tests/qapi-schema/include-cycle-c.json:1: Inclusion loop for include-cycle.json +In file included from tests/qapi-schema/include-cycle.qapi:1: +In file included from tests/qapi-schema/include-cycle-b.qapi:1: +tests/qapi-schema/include-cycle-c.qapi:1: Inclusion loop for include-cycle.qapi
tests/qapi-schema/include-cycle.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': 'include-cycle-b.json' }
tests/qapi-schema/include-cycle.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': 'include-cycle-b.qapi' }
tests/qapi-schema/include-extra-junk.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/include-extra-junk.json:3: Invalid 'include' directive +tests/qapi-schema/include-extra-junk.qapi:3: Invalid 'include' directive
tests/qapi-schema/include-extra-junk.json deleted +0 -3
@@ -1,3 +0,0 @@ -# 'include' must be the sole member - -{ 'include': 'comments.json', 'junk': true }
tests/qapi-schema/include-extra-junk.qapi new file +3 -0
@@ -0,0 +1,3 @@ +# 'include' must be the sole member + +{ 'include': 'comments.qapi', 'junk': true }
tests/qapi-schema/include-format-err.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/include-format-err.json:1: Invalid 'include' directive +tests/qapi-schema/include-format-err.qapi:1: Invalid 'include' directive
tests/qapi-schema/include-format-err.json deleted +0 -2
@@ -1,2 +0,0 @@ -{ 'include': 'include-simple-sub.json', - 'foo': 'bar' }
tests/qapi-schema/include-format-err.qapi new file +2 -0
@@ -0,0 +1,2 @@ +{ 'include': 'include-simple-sub.qapi', + 'foo': 'bar' }
tests/qapi-schema/include-nested-err.err +2 -2
@@ -1,2 +1,2 @@ -In file included from tests/qapi-schema/include-nested-err.json:1: -tests/qapi-schema/missing-colon.json:1:10: Expected ":" +In file included from tests/qapi-schema/include-nested-err.qapi:1: +tests/qapi-schema/missing-colon.qapi:1:10: Expected ":"
tests/qapi-schema/include-nested-err.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': 'missing-colon.json' }
tests/qapi-schema/include-nested-err.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': 'missing-colon.qapi' }
tests/qapi-schema/include-no-file.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/include-no-file.json:1: No such file or directory: tests/qapi-schema/include-no-file-sub.json +tests/qapi-schema/include-no-file.qapi:1: No such file or directory: tests/qapi-schema/include-no-file-sub.qapi
tests/qapi-schema/include-no-file.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': 'include-no-file-sub.json' }
tests/qapi-schema/include-no-file.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': 'include-no-file-sub.qapi' }
tests/qapi-schema/include-non-file.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/include-non-file.json:1: Value of 'include' must be a string +tests/qapi-schema/include-non-file.qapi:1: Value of 'include' must be a string
tests/qapi-schema/include-non-file.qapi renamed from tests/qapi-schema/include-non-file.json +0 -0
tests/qapi-schema/include-relpath-sub.qapi renamed from tests/qapi-schema/include-relpath-sub.json +0 -0
tests/qapi-schema/include-relpath.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': 'include/relpath.json' }
tests/qapi-schema/include-relpath.out +5 -5
@@ -1,9 +1,9 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module include-relpath.json -include include/relpath.json -module include/relpath.json -include include-relpath-sub.json -module include-relpath-sub.json +module include-relpath.qapi +include include/relpath.qapi +module include/relpath.qapi +include include-relpath-sub.qapi +module include-relpath-sub.qapi enum Status ['good', 'bad', 'ugly']
tests/qapi-schema/include-relpath.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': 'include/relpath.qapi' }
tests/qapi-schema/include-repetition-sub.json deleted +0 -2
@@ -1,2 +0,0 @@ -{ 'include': 'comments.json' } -{ 'include': 'comments.json' }
tests/qapi-schema/include-repetition-sub.qapi new file +2 -0
@@ -0,0 +1,2 @@ +{ 'include': 'comments.qapi' } +{ 'include': 'comments.qapi' }
tests/qapi-schema/include-repetition.json deleted +0 -3
@@ -1,3 +0,0 @@ -{ 'include': 'comments.json' } -{ 'include': 'include-repetition-sub.json' } -{ 'include': 'comments.json' }
tests/qapi-schema/include-repetition.out +10 -10
@@ -1,14 +1,14 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module include-repetition.json -include comments.json -module comments.json +module include-repetition.qapi +include comments.qapi +module comments.qapi enum Status ['good', 'bad', 'ugly'] -module include-repetition.json -include include-repetition-sub.json -module include-repetition-sub.json -include comments.json -include comments.json -module include-repetition.json -include comments.json +module include-repetition.qapi +include include-repetition-sub.qapi +module include-repetition-sub.qapi +include comments.qapi +include comments.qapi +module include-repetition.qapi +include comments.qapi
tests/qapi-schema/include-repetition.qapi new file +3 -0
@@ -0,0 +1,3 @@ +{ 'include': 'comments.qapi' } +{ 'include': 'include-repetition-sub.qapi' } +{ 'include': 'comments.qapi' }
tests/qapi-schema/include-self-cycle.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/include-self-cycle.json:1: Inclusion loop for include-self-cycle.json +tests/qapi-schema/include-self-cycle.qapi:1: Inclusion loop for include-self-cycle.qapi
tests/qapi-schema/include-self-cycle.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': 'include-self-cycle.json' }
tests/qapi-schema/include-self-cycle.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': 'include-self-cycle.qapi' }
tests/qapi-schema/include-simple-sub.qapi renamed from tests/qapi-schema/include-simple-sub.json +0 -0
tests/qapi-schema/include-simple.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': 'include-simple-sub.json' }
tests/qapi-schema/include-simple.out +3 -3
@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module include-simple.json -include include-simple-sub.json -module include-simple-sub.json +module include-simple.qapi +include include-simple-sub.qapi +module include-simple-sub.qapi enum Status ['good', 'bad', 'ugly']
tests/qapi-schema/include-simple.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': 'include-simple-sub.qapi' }
tests/qapi-schema/include/relpath.json deleted +0 -1
@@ -1 +0,0 @@ -{ 'include': '../include-relpath-sub.json' }
tests/qapi-schema/include/relpath.qapi new file +1 -0
@@ -0,0 +1 @@ +{ 'include': '../include-relpath-sub.qapi' }
tests/qapi-schema/indented-expr.out +1 -1
@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module indented-expr.json +module indented-expr.qapi command eins None -> None gen=True success_response=True boxed=False oob=False command zwei None -> None
tests/qapi-schema/indented-expr.qapi renamed from tests/qapi-schema/indented-expr.json +0 -0
tests/qapi-schema/leading-comma-list.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/leading-comma-list.json:2:13: Expected "{", "[", "]", string, boolean or "null" +tests/qapi-schema/leading-comma-list.qapi:2:13: Expected "{", "[", "]", string, boolean or "null"
tests/qapi-schema/leading-comma-list.qapi renamed from tests/qapi-schema/leading-comma-list.json +0 -0
tests/qapi-schema/leading-comma-object.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/leading-comma-object.json:1:3: Expected string or "}" +tests/qapi-schema/leading-comma-object.qapi:1:3: Expected string or "}"
tests/qapi-schema/leading-comma-object.qapi renamed from tests/qapi-schema/leading-comma-object.json +0 -0
tests/qapi-schema/missing-colon.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/missing-colon.json:1:10: Expected ":" +tests/qapi-schema/missing-colon.qapi:1:10: Expected ":"
tests/qapi-schema/missing-colon.qapi renamed from tests/qapi-schema/missing-colon.json +0 -0
tests/qapi-schema/missing-comma-list.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/missing-comma-list.json:2:20: Expected "," or "]" +tests/qapi-schema/missing-comma-list.qapi:2:20: Expected "," or "]"
tests/qapi-schema/missing-comma-list.qapi renamed from tests/qapi-schema/missing-comma-list.json +0 -0
tests/qapi-schema/missing-comma-object.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/missing-comma-object.json:2:3: Expected "," or "}" +tests/qapi-schema/missing-comma-object.qapi:2:3: Expected "," or "}"
tests/qapi-schema/missing-comma-object.qapi renamed from tests/qapi-schema/missing-comma-object.json +0 -0
tests/qapi-schema/missing-type.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/missing-type.json:2: Expression is missing metatype +tests/qapi-schema/missing-type.qapi:2: Expression is missing metatype
tests/qapi-schema/missing-type.qapi renamed from tests/qapi-schema/missing-type.json +0 -0
tests/qapi-schema/nested-struct-data.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/nested-struct-data.json:2: Member 'a' of 'data' for command 'foo' should be a type name +tests/qapi-schema/nested-struct-data.qapi:2: Member 'a' of 'data' for command 'foo' should be a type name
tests/qapi-schema/nested-struct-data.qapi renamed from tests/qapi-schema/nested-struct-data.json +0 -0
tests/qapi-schema/non-objects.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/non-objects.json:1:1: Expected "{" +tests/qapi-schema/non-objects.qapi:1:1: Expected "{"
tests/qapi-schema/non-objects.qapi renamed from tests/qapi-schema/non-objects.json +0 -0
tests/qapi-schema/oob-test.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/oob-test.json:2: 'allow-oob' of command 'oob-command-1' should only use true value +tests/qapi-schema/oob-test.qapi:2: 'allow-oob' of command 'oob-command-1' should only use true value
tests/qapi-schema/oob-test.qapi renamed from tests/qapi-schema/oob-test.json +0 -0
tests/qapi-schema/pragma-doc-required-crap.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/pragma-doc-required-crap.json:3: Pragma 'doc-required' must be boolean +tests/qapi-schema/pragma-doc-required-crap.qapi:3: Pragma 'doc-required' must be boolean
tests/qapi-schema/pragma-doc-required-crap.qapi renamed from tests/qapi-schema/pragma-doc-required-crap.json +0 -0
tests/qapi-schema/pragma-extra-junk.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/pragma-extra-junk.json:3: Invalid 'pragma' directive +tests/qapi-schema/pragma-extra-junk.qapi:3: Invalid 'pragma' directive
tests/qapi-schema/pragma-extra-junk.qapi renamed from tests/qapi-schema/pragma-extra-junk.json +0 -0
tests/qapi-schema/pragma-name-case-whitelist-crap.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/pragma-name-case-whitelist-crap.json:3: Pragma name-case-whitelist must be a list of strings +tests/qapi-schema/pragma-name-case-whitelist-crap.qapi:3: Pragma name-case-whitelist must be a list of strings
tests/qapi-schema/pragma-name-case-whitelist-crap.qapi renamed from tests/qapi-schema/pragma-name-case-whitelist-crap.json +0 -0
tests/qapi-schema/pragma-non-dict.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/pragma-non-dict.json:3: Value of 'pragma' must be a dictionary +tests/qapi-schema/pragma-non-dict.qapi:3: Value of 'pragma' must be a dictionary
tests/qapi-schema/pragma-non-dict.qapi renamed from tests/qapi-schema/pragma-non-dict.json +0 -0
tests/qapi-schema/pragma-returns-whitelist-crap.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/pragma-returns-whitelist-crap.json:3: Pragma returns-whitelist must be a list of strings +tests/qapi-schema/pragma-returns-whitelist-crap.qapi:3: Pragma returns-whitelist must be a list of strings
tests/qapi-schema/pragma-returns-whitelist-crap.qapi renamed from tests/qapi-schema/pragma-returns-whitelist-crap.json +0 -0
tests/qapi-schema/qapi-schema-test.out +1 -1
@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module qapi-schema-test.json +module qapi-schema-test.qapi object TestStruct member integer: int optional=False member boolean: bool optional=False
tests/qapi-schema/qapi-schema-test.qapi renamed from tests/qapi-schema/qapi-schema-test.json +0 -0
tests/qapi-schema/quoted-structural-chars.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/quoted-structural-chars.json:1:1: Expected "{" +tests/qapi-schema/quoted-structural-chars.qapi:1:1: Expected "{"
tests/qapi-schema/quoted-structural-chars.qapi renamed from tests/qapi-schema/quoted-structural-chars.json +0 -0
tests/qapi-schema/redefined-builtin.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/redefined-builtin.json:2: built-in 'size' is already defined +tests/qapi-schema/redefined-builtin.qapi:2: built-in 'size' is already defined
tests/qapi-schema/redefined-builtin.qapi renamed from tests/qapi-schema/redefined-builtin.json +0 -0
tests/qapi-schema/redefined-command.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/redefined-command.json:3: command 'foo' is already defined +tests/qapi-schema/redefined-command.qapi:3: command 'foo' is already defined
tests/qapi-schema/redefined-command.qapi renamed from tests/qapi-schema/redefined-command.json +0 -0
tests/qapi-schema/redefined-event.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/redefined-event.json:3: event 'EVENT_A' is already defined +tests/qapi-schema/redefined-event.qapi:3: event 'EVENT_A' is already defined
tests/qapi-schema/redefined-event.qapi renamed from tests/qapi-schema/redefined-event.json +0 -0
tests/qapi-schema/redefined-type.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/redefined-type.json:3: struct 'foo' is already defined +tests/qapi-schema/redefined-type.qapi:3: struct 'foo' is already defined
tests/qapi-schema/redefined-type.qapi renamed from tests/qapi-schema/redefined-type.json +0 -0
tests/qapi-schema/reserved-command-q.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/reserved-command-q.json:5: 'command' uses invalid name 'q-unix' +tests/qapi-schema/reserved-command-q.qapi:5: 'command' uses invalid name 'q-unix'
tests/qapi-schema/reserved-command-q.qapi renamed from tests/qapi-schema/reserved-command-q.json +0 -0
tests/qapi-schema/reserved-enum-q.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/reserved-enum-q.json:4: Member of enum 'Foo' uses invalid name 'q-Unix' +tests/qapi-schema/reserved-enum-q.qapi:4: Member of enum 'Foo' uses invalid name 'q-Unix'
tests/qapi-schema/reserved-enum-q.qapi renamed from tests/qapi-schema/reserved-enum-q.json +0 -0
tests/qapi-schema/reserved-member-has.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/reserved-member-has.json:5: Member of 'data' for command 'oops' uses reserved name 'has-a' +tests/qapi-schema/reserved-member-has.qapi:5: Member of 'data' for command 'oops' uses reserved name 'has-a'
tests/qapi-schema/reserved-member-has.qapi renamed from tests/qapi-schema/reserved-member-has.json +0 -0
tests/qapi-schema/reserved-member-q.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/reserved-member-q.json:4: Member of 'data' for struct 'Foo' uses invalid name 'q-unix' +tests/qapi-schema/reserved-member-q.qapi:4: Member of 'data' for struct 'Foo' uses invalid name 'q-unix'
tests/qapi-schema/reserved-member-q.qapi renamed from tests/qapi-schema/reserved-member-q.json +0 -0
tests/qapi-schema/reserved-member-u.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/reserved-member-u.json:7: Member of 'data' for struct 'Oops' uses reserved name 'u' +tests/qapi-schema/reserved-member-u.qapi:7: Member of 'data' for struct 'Oops' uses reserved name 'u'
tests/qapi-schema/reserved-member-u.qapi renamed from tests/qapi-schema/reserved-member-u.json +0 -0
tests/qapi-schema/reserved-member-underscore.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/reserved-member-underscore.json:4: Member of 'data' for struct 'Oops' uses invalid name '_oops' +tests/qapi-schema/reserved-member-underscore.qapi:4: Member of 'data' for struct 'Oops' uses invalid name '_oops'
tests/qapi-schema/reserved-member-underscore.qapi renamed from tests/qapi-schema/reserved-member-underscore.json +0 -0
tests/qapi-schema/reserved-type-kind.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/reserved-type-kind.json:2: enum 'UnionKind' should not end in 'Kind' +tests/qapi-schema/reserved-type-kind.qapi:2: enum 'UnionKind' should not end in 'Kind'
tests/qapi-schema/reserved-type-kind.qapi renamed from tests/qapi-schema/reserved-type-kind.json +0 -0
tests/qapi-schema/reserved-type-list.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/reserved-type-list.json:5: struct 'FooList' should not end in 'List' +tests/qapi-schema/reserved-type-list.qapi:5: struct 'FooList' should not end in 'List'
tests/qapi-schema/reserved-type-list.qapi renamed from tests/qapi-schema/reserved-type-list.json +0 -0
tests/qapi-schema/returns-alternate.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/returns-alternate.json:3: 'returns' for command 'oops' cannot use alternate type 'Alt' +tests/qapi-schema/returns-alternate.qapi:3: 'returns' for command 'oops' cannot use alternate type 'Alt'
tests/qapi-schema/returns-alternate.qapi renamed from tests/qapi-schema/returns-alternate.json +0 -0
tests/qapi-schema/returns-array-bad.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/returns-array-bad.json:2: 'returns' for command 'oops': array type must contain single type name +tests/qapi-schema/returns-array-bad.qapi:2: 'returns' for command 'oops': array type must contain single type name
tests/qapi-schema/returns-array-bad.qapi renamed from tests/qapi-schema/returns-array-bad.json +0 -0
tests/qapi-schema/returns-dict.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/returns-dict.json:2: 'returns' for command 'oops' should be a type name +tests/qapi-schema/returns-dict.qapi:2: 'returns' for command 'oops' should be a type name
tests/qapi-schema/returns-dict.qapi renamed from tests/qapi-schema/returns-dict.json +0 -0
tests/qapi-schema/returns-unknown.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/returns-unknown.json:2: 'returns' for command 'oops' uses unknown type 'NoSuchType' +tests/qapi-schema/returns-unknown.qapi:2: 'returns' for command 'oops' uses unknown type 'NoSuchType'
tests/qapi-schema/returns-unknown.qapi renamed from tests/qapi-schema/returns-unknown.json +0 -0
tests/qapi-schema/returns-whitelist.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/returns-whitelist.json:14: 'returns' for command 'no-way-this-will-get-whitelisted' cannot use built-in type 'int' +tests/qapi-schema/returns-whitelist.qapi:14: 'returns' for command 'no-way-this-will-get-whitelisted' cannot use built-in type 'int'
tests/qapi-schema/returns-whitelist.qapi renamed from tests/qapi-schema/returns-whitelist.json +0 -0
tests/qapi-schema/struct-base-clash-deep.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/struct-base-clash-deep.json:10: 'name' (member of Sub) collides with 'name' (member of Base) +tests/qapi-schema/struct-base-clash-deep.qapi:10: 'name' (member of Sub) collides with 'name' (member of Base)
tests/qapi-schema/struct-base-clash-deep.qapi renamed from tests/qapi-schema/struct-base-clash-deep.json +0 -0
tests/qapi-schema/struct-base-clash.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/struct-base-clash.json:5: 'name' (member of Sub) collides with 'name' (member of Base) +tests/qapi-schema/struct-base-clash.qapi:5: 'name' (member of Sub) collides with 'name' (member of Base)
tests/qapi-schema/struct-base-clash.qapi renamed from tests/qapi-schema/struct-base-clash.json +0 -0
tests/qapi-schema/struct-data-invalid.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/struct-data-invalid.json:1: 'data' for struct 'foo' should be a dictionary or type name +tests/qapi-schema/struct-data-invalid.qapi:1: 'data' for struct 'foo' should be a dictionary or type name
tests/qapi-schema/struct-data-invalid.qapi renamed from tests/qapi-schema/struct-data-invalid.json +0 -0
tests/qapi-schema/struct-member-invalid.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/struct-member-invalid.json:1: Member 'a' of 'data' for struct 'foo' should be a type name +tests/qapi-schema/struct-member-invalid.qapi:1: Member 'a' of 'data' for struct 'foo' should be a type name
tests/qapi-schema/struct-member-invalid.qapi renamed from tests/qapi-schema/struct-member-invalid.json +0 -0
tests/qapi-schema/trailing-comma-list.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/trailing-comma-list.json:2:36: Expected "{", "[", string, boolean or "null" +tests/qapi-schema/trailing-comma-list.qapi:2:36: Expected "{", "[", string, boolean or "null"
tests/qapi-schema/trailing-comma-list.qapi renamed from tests/qapi-schema/trailing-comma-list.json +0 -0
tests/qapi-schema/trailing-comma-object.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/trailing-comma-object.json:2:38: Expected string +tests/qapi-schema/trailing-comma-object.qapi:2:38: Expected string
tests/qapi-schema/trailing-comma-object.qapi renamed from tests/qapi-schema/trailing-comma-object.json +0 -0
tests/qapi-schema/type-bypass-bad-gen.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/type-bypass-bad-gen.json:2: 'gen' of command 'foo' should only use false value +tests/qapi-schema/type-bypass-bad-gen.qapi:2: 'gen' of command 'foo' should only use false value
tests/qapi-schema/type-bypass-bad-gen.qapi renamed from tests/qapi-schema/type-bypass-bad-gen.json +0 -0
tests/qapi-schema/unclosed-list.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/unclosed-list.json:1:20: Expected "," or "]" +tests/qapi-schema/unclosed-list.qapi:1:20: Expected "," or "]"
tests/qapi-schema/unclosed-list.qapi renamed from tests/qapi-schema/unclosed-list.json +0 -0
tests/qapi-schema/unclosed-object.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/unclosed-object.json:1:21: Expected "," or "}" +tests/qapi-schema/unclosed-object.qapi:1:21: Expected "," or "}"
tests/qapi-schema/unclosed-object.qapi renamed from tests/qapi-schema/unclosed-object.json +0 -0
tests/qapi-schema/unclosed-string.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/unclosed-string.json:1:11: Missing terminating "'" +tests/qapi-schema/unclosed-string.qapi:1:11: Missing terminating "'"
tests/qapi-schema/unclosed-string.qapi renamed from tests/qapi-schema/unclosed-string.json +0 -0
tests/qapi-schema/unicode-str.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/unicode-str.json:2: 'command' uses invalid name 'é' +tests/qapi-schema/unicode-str.qapi:2: 'command' uses invalid name 'é'
tests/qapi-schema/unicode-str.qapi renamed from tests/qapi-schema/unicode-str.json +0 -0
tests/qapi-schema/union-base-empty.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/union-base-empty.json:5: Discriminator 'type' is not a member of base struct 'Empty' +tests/qapi-schema/union-base-empty.qapi:5: Discriminator 'type' is not a member of base struct 'Empty'
tests/qapi-schema/union-base-empty.qapi renamed from tests/qapi-schema/union-base-empty.json +0 -0
tests/qapi-schema/union-base-no-discriminator.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/union-base-no-discriminator.json:11: Simple union 'TestUnion' must not have a base +tests/qapi-schema/union-base-no-discriminator.qapi:11: Simple union 'TestUnion' must not have a base
tests/qapi-schema/union-base-no-discriminator.qapi renamed from tests/qapi-schema/union-base-no-discriminator.json +0 -0
tests/qapi-schema/union-branch-case.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/union-branch-case.json:2: 'Branch' (branch of NoWayThisWillGetWhitelisted) should not use uppercase +tests/qapi-schema/union-branch-case.qapi:2: 'Branch' (branch of NoWayThisWillGetWhitelisted) should not use uppercase
tests/qapi-schema/union-branch-case.qapi renamed from tests/qapi-schema/union-branch-case.json +0 -0
tests/qapi-schema/union-clash-branches.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/union-clash-branches.json:4: 'a_b' (branch of TestUnion) collides with 'a-b' (branch of TestUnion) +tests/qapi-schema/union-clash-branches.qapi:4: 'a_b' (branch of TestUnion) collides with 'a-b' (branch of TestUnion)
tests/qapi-schema/union-clash-branches.qapi renamed from tests/qapi-schema/union-clash-branches.json +0 -0
tests/qapi-schema/union-empty.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/union-empty.json:2: Union 'Union' cannot have empty 'data' +tests/qapi-schema/union-empty.qapi:2: Union 'Union' cannot have empty 'data'
tests/qapi-schema/union-empty.qapi renamed from tests/qapi-schema/union-empty.json +0 -0
tests/qapi-schema/union-invalid-base.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/union-invalid-base.json:8: 'base' for union 'TestUnion' cannot use built-in type 'int' +tests/qapi-schema/union-invalid-base.qapi:8: 'base' for union 'TestUnion' cannot use built-in type 'int'
tests/qapi-schema/union-invalid-base.qapi renamed from tests/qapi-schema/union-invalid-base.json +0 -0
tests/qapi-schema/union-optional-branch.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/union-optional-branch.json:2: Member of union 'Union' does not allow optional name '*a' +tests/qapi-schema/union-optional-branch.qapi:2: Member of union 'Union' does not allow optional name '*a'
tests/qapi-schema/union-optional-branch.qapi renamed from tests/qapi-schema/union-optional-branch.json +0 -0
tests/qapi-schema/union-unknown.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/union-unknown.json:2: Member 'unknown' of union 'Union' uses unknown type 'MissingType' +tests/qapi-schema/union-unknown.qapi:2: Member 'unknown' of union 'Union' uses unknown type 'MissingType'
tests/qapi-schema/union-unknown.qapi renamed from tests/qapi-schema/union-unknown.json +0 -0
tests/qapi-schema/unknown-escape.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/unknown-escape.json:3:21: Unknown escape \x +tests/qapi-schema/unknown-escape.qapi:3:21: Unknown escape \x
tests/qapi-schema/unknown-escape.qapi renamed from tests/qapi-schema/unknown-escape.json +0 -0
tests/qapi-schema/unknown-expr-key.err +1 -1
@@ -1 +1 @@ -tests/qapi-schema/unknown-expr-key.json:2: Unknown key 'bogus' in struct 'bar' +tests/qapi-schema/unknown-expr-key.qapi:2: Unknown key 'bogus' in struct 'bar'
tests/qapi-schema/unknown-expr-key.qapi renamed from tests/qapi-schema/unknown-expr-key.json +0 -0
Signature · 1 line
2.14.3
Re: [Qemu-devel] [PATCH v2 2/2] qapi: Rename .json to .qapi
Quoted 3 lines · Eric Blake
Our QAPI input files aren't quite true JSON (comments being one obvious difference); naming things .json doesn't make that obvious. Use a new suffix .qapi that makes it easy to identify our files.
I agree that .json is sub-optimal. Evidence: we add Emacs file variables to get Python mode, because that's less wrong than JavaScript mode. Except for "trivial" files, where we can't be bothered.
The rename lessens the human confusion, but increases the Editor confusion somewhat: we get Fundamental mode for "trivial" files, which is more wrong than JavaScript mode.
One way to avoid that would be adding file variables to all files.
Permit me to digress. I figure the (sane part of the) rationale for picking JSON as programming language syntax was "do not invent syntax, do profit from existing tooling". Except JSON is unfit for the purpose as is; you need at least comments. Our "fixes" for "unfit" turned the thing into an original work, destroying the "profit" part. To paraphrase a German saying, what we built with our hands we upset with the ass. Too late to correct, I guess, but I'm open to different opinions.
[...]
Re: [Qemu-devel] [PATCH v2 2/2] qapi: Rename .json to .qapi
Quoted 10 lines · * Markus Armbruster ([email protected]) wrote:
Quoted 3 lines · Eric Blake
Our QAPI input files aren't quite true JSON (comments being one obvious difference); naming things .json doesn't make that obvious. Use a new suffix .qapi that makes it easy to identify our files.
I agree that .json is sub-optimal. Evidence: we add Emacs file variables to get Python mode, because that's less wrong than JavaScript mode. Except for "trivial" files, where we can't be bothered.
Quoted 5 lines
The rename lessens the human confusion, but increases the Editor confusion somewhat: we get Fundamental mode for "trivial" files, which is more wrong than JavaScript mode.
One way to avoid that would be adding file variables to all files.
That depends on your editor; this rename makes life **much** better
in vim; with them as .json files they display with white text on
bright red background (I guess because it's upset by syntax somewhere) but as .qapi files it's readable (I'm not entirely sure which syntax it's using)
Dave
Quoted 10 lines
Permit me to digress. I figure the (sane part of the) rationale for picking JSON as programming language syntax was "do not invent syntax, do profit from existing tooling". Except JSON is unfit for the purpose as is; you need at least comments. Our "fixes" for "unfit" turned the thing into an original work, destroying the "profit" part. To paraphrase a German saying, what we built with our hands we upset with the ass. Too late to correct, I guess, but I'm open to different opinions.
[...]
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Re: [Qemu-devel] [PATCH v2 2/2] qapi: Rename .json to .qapi
Quoted 15 lines · Dr. David Alan Gilbert
Quoted 14 lines · * Markus Armbruster ([email protected]) wrote:
Quoted 3 lines · Eric Blake
Our QAPI input files aren't quite true JSON (comments being one obvious difference); naming things .json doesn't make that obvious. Use a new suffix .qapi that makes it easy to identify our files.
I agree that .json is sub-optimal. Evidence: we add Emacs file variables to get Python mode, because that's less wrong than JavaScript mode. Except for "trivial" files, where we can't be bothered.
The rename lessens the human confusion, but increases the Editor confusion somewhat: we get Fundamental mode for "trivial" files, which is more wrong than JavaScript mode.
Quoted 7 lines
Quoted 1 line
One way to avoid that would be adding file variables to all files.
That depends on your editor; this rename makes life **much** better
in vim; with them as .json files they display with white text on
bright red background (I guess because it's upset by syntax somewhere) but as .qapi files it's readable (I'm not entirely sure which syntax it's using)
It's also possible to document that emacs users can add to their .emacs file:
(add-to-list 'auto-mode-alist '("\\.qapi\\'" . python-mode))
to automatically treat all .qapi files with sane highlighting. Sadly, .dir-locals.el cannot do this without warning the users about an unsafe 'eval' variable, so users that don't do their own manual setup are stuck with fundamental mode on trivial files.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Re: [Qemu-devel] [PATCH v2 2/2] qapi: Rename .json to .qapi
In reply to Eric BlakeQuoted 9 lines · * Eric Blake ([email protected]) wrote:
Our QAPI input files aren't quite true JSON (comments being one obvious difference); naming things .json doesn't make that obvious. Use a new suffix .qapi that makes it easy to identify our files.
This change is mostly mechanical, but it is not just a global search-and-replace as some instances of '.json' really do refer to JSON files, or to a URL that can't change, and so on.
Signed-off-by Eric Blake <[email protected]>
For migration and HMP
Quoted 3,600 lines
---
v2: rebase to master--- docs/devel/blkdebug.txt | 2 +- docs/devel/qapi-code-gen.txt | 6 +- docs/devel/testing.rst | 4 +- docs/devel/writing-qmp-commands.txt | 4 +- docs/interop/live-block-operations.rst | 4 +- docs/interop/qmp-intro.txt | 2 +- Makefile | 32 +- qapi/{block-core.json => block-core.qapi} | 6 +- qapi/{block.json => block.qapi} | 2 +- qapi/{char.json => char.qapi} | 2 +- qapi/{common.json => common.qapi} | 0 qapi/{crypto.json => crypto.qapi} | 0 qapi/{introspect.json => introspect.qapi} | 0 qapi/{migration.json => migration.qapi} | 2 +- qapi/{misc.json => misc.qapi} | 0 qapi/{net.json => net.qapi} | 2 +- qapi/{qga-schema.json => qga-schema.qapi} | 0 qapi/{qmp-schema.json => qmp-schema.qapi} | 30 +- qapi/{rocker.json => rocker.qapi} | 0 qapi/{run-state.json => run-state.qapi} | 0 qapi/{sockets.json => sockets.qapi} | 2 +- qapi/{tpm.json => tpm.qapi} | 0 qapi/{trace.json => trace.qapi} | 0 qapi/{transaction.json => transaction.qapi} | 2 +- qapi/{ui.json => ui.qapi} | 2 +- include/crypto/block.h | 2 +- include/crypto/cipher.h | 2 +- include/crypto/hash.h | 2 +- include/crypto/ivgen.h | 2 +- MAINTAINERS | 26 +- scripts/git.orderfile | 2 +- tests/Makefile.include | 336 ++++++++++----------- tests/qapi-schema/alternate-any.err | 2 +- .../{alternate-any.json => alternate-any.qapi} | 0 tests/qapi-schema/alternate-array.err | 2 +- .../{alternate-array.json => alternate-array.qapi} | 0 tests/qapi-schema/alternate-base.err | 2 +- .../{alternate-base.json => alternate-base.qapi} | 0 tests/qapi-schema/alternate-clash.err | 2 +- .../{alternate-clash.json => alternate-clash.qapi} | 0 .../qapi-schema/alternate-conflict-bool-string.err | 2 +- ...ng.json => alternate-conflict-bool-string.qapi} | 0 tests/qapi-schema/alternate-conflict-dict.err | 2 +- ...lict-dict.json => alternate-conflict-dict.qapi} | 0 tests/qapi-schema/alternate-conflict-enum-bool.err | 2 +- ...bool.json => alternate-conflict-enum-bool.qapi} | 0 tests/qapi-schema/alternate-conflict-enum-int.err | 2 +- ...m-int.json => alternate-conflict-enum-int.qapi} | 0 .../qapi-schema/alternate-conflict-num-string.err | 2 +- ...ing.json => alternate-conflict-num-string.qapi} | 0 tests/qapi-schema/alternate-conflict-string.err | 2 +- ...-string.json => alternate-conflict-string.qapi} | 0 tests/qapi-schema/alternate-empty.err | 2 +- .../{alternate-empty.json => alternate-empty.qapi} | 0 tests/qapi-schema/alternate-nested.err | 2 +- ...alternate-nested.json => alternate-nested.qapi} | 0 tests/qapi-schema/alternate-unknown.err | 2 +- ...ternate-unknown.json => alternate-unknown.qapi} | 0 tests/qapi-schema/args-alternate.err | 2 +- .../{args-alternate.json => args-alternate.qapi} | 0 tests/qapi-schema/args-any.err | 2 +- tests/qapi-schema/{args-any.json => args-any.qapi} | 0 tests/qapi-schema/args-array-empty.err | 2 +- ...args-array-empty.json => args-array-empty.qapi} | 0 tests/qapi-schema/args-array-unknown.err | 2 +- ...-array-unknown.json => args-array-unknown.qapi} | 0 tests/qapi-schema/args-bad-boxed.err | 2 +- .../{args-bad-boxed.json => args-bad-boxed.qapi} | 0 tests/qapi-schema/args-boxed-anon.err | 2 +- .../{args-boxed-anon.json => args-boxed-anon.qapi} | 0 tests/qapi-schema/args-boxed-empty.err | 2 +- ...args-boxed-empty.json => args-boxed-empty.qapi} | 0 tests/qapi-schema/args-boxed-string.err | 2 +- ...gs-boxed-string.json => args-boxed-string.qapi} | 0 tests/qapi-schema/args-int.err | 2 +- tests/qapi-schema/{args-int.json => args-int.qapi} | 0 tests/qapi-schema/args-invalid.err | 2 +- .../{args-invalid.json => args-invalid.qapi} | 0 tests/qapi-schema/args-member-array-bad.err | 2 +- ...r-array-bad.json => args-member-array-bad.qapi} | 0 tests/qapi-schema/args-member-case.err | 2 +- ...args-member-case.json => args-member-case.qapi} | 0 tests/qapi-schema/args-member-unknown.err | 2 +- ...ember-unknown.json => args-member-unknown.qapi} | 0 tests/qapi-schema/args-name-clash.err | 2 +- .../{args-name-clash.json => args-name-clash.qapi} | 0 tests/qapi-schema/args-union.err | 2 +- .../{args-union.json => args-union.qapi} | 0 tests/qapi-schema/args-unknown.err | 2 +- .../{args-unknown.json => args-unknown.qapi} | 0 tests/qapi-schema/bad-base.err | 2 +- tests/qapi-schema/{bad-base.json => bad-base.qapi} | 0 tests/qapi-schema/bad-data.err | 2 +- tests/qapi-schema/{bad-data.json => bad-data.qapi} | 0 tests/qapi-schema/bad-ident.err | 2 +- .../qapi-schema/{bad-ident.json => bad-ident.qapi} | 0 tests/qapi-schema/bad-type-bool.err | 2 +- .../{bad-type-bool.json => bad-type-bool.qapi} | 0 tests/qapi-schema/bad-type-dict.err | 2 +- .../{bad-type-dict.json => bad-type-dict.qapi} | 0 tests/qapi-schema/bad-type-int.err | 2 +- .../{bad-type-int.json => bad-type-int.qapi} | 0 tests/qapi-schema/base-cycle-direct.err | 2 +- ...se-cycle-direct.json => base-cycle-direct.qapi} | 0 tests/qapi-schema/base-cycle-indirect.err | 2 +- ...ycle-indirect.json => base-cycle-indirect.qapi} | 0 tests/qapi-schema/command-int.err | 2 +- .../{command-int.json => command-int.qapi} | 0 tests/qapi-schema/comments.out | 2 +- tests/qapi-schema/{comments.json => comments.qapi} | 0 tests/qapi-schema/doc-bad-alternate-member.err | 2 +- ...e-member.json => doc-bad-alternate-member.qapi} | 0 tests/qapi-schema/doc-bad-command-arg.err | 2 +- ...d-command-arg.json => doc-bad-command-arg.qapi} | 0 tests/qapi-schema/doc-bad-section.out | 2 +- .../{doc-bad-section.json => doc-bad-section.qapi} | 0 tests/qapi-schema/doc-bad-symbol.err | 2 +- .../{doc-bad-symbol.json => doc-bad-symbol.qapi} | 0 tests/qapi-schema/doc-bad-union-member.err | 2 +- ...union-member.json => doc-bad-union-member.qapi} | 0 tests/qapi-schema/doc-before-include.err | 2 +- ...before-include.json => doc-before-include.qapi} | 2 +- tests/qapi-schema/doc-before-pragma.err | 2 +- ...c-before-pragma.json => doc-before-pragma.qapi} | 0 tests/qapi-schema/doc-duplicated-arg.err | 2 +- ...duplicated-arg.json => doc-duplicated-arg.qapi} | 0 tests/qapi-schema/doc-duplicated-return.err | 2 +- ...ated-return.json => doc-duplicated-return.qapi} | 0 tests/qapi-schema/doc-duplicated-since.err | 2 +- ...icated-since.json => doc-duplicated-since.qapi} | 0 tests/qapi-schema/doc-empty-arg.err | 2 +- .../{doc-empty-arg.json => doc-empty-arg.qapi} | 0 tests/qapi-schema/doc-empty-section.err | 2 +- ...c-empty-section.json => doc-empty-section.qapi} | 0 tests/qapi-schema/doc-empty-symbol.err | 2 +- ...doc-empty-symbol.json => doc-empty-symbol.qapi} | 0 tests/qapi-schema/doc-good.out | 2 +- tests/qapi-schema/{doc-good.json => doc-good.qapi} | 0 tests/qapi-schema/doc-interleaved-section.err | 2 +- ...d-section.json => doc-interleaved-section.qapi} | 0 tests/qapi-schema/doc-invalid-end.err | 2 +- .../{doc-invalid-end.json => doc-invalid-end.qapi} | 0 tests/qapi-schema/doc-invalid-end2.err | 2 +- ...doc-invalid-end2.json => doc-invalid-end2.qapi} | 0 tests/qapi-schema/doc-invalid-return.err | 2 +- ...invalid-return.json => doc-invalid-return.qapi} | 0 tests/qapi-schema/doc-invalid-section.err | 2 +- ...valid-section.json => doc-invalid-section.qapi} | 0 tests/qapi-schema/doc-invalid-start.err | 2 +- ...c-invalid-start.json => doc-invalid-start.qapi} | 0 tests/qapi-schema/doc-missing-colon.err | 2 +- ...c-missing-colon.json => doc-missing-colon.qapi} | 0 tests/qapi-schema/doc-missing-expr.err | 2 +- ...doc-missing-expr.json => doc-missing-expr.qapi} | 0 tests/qapi-schema/doc-missing-space.err | 2 +- ...c-missing-space.json => doc-missing-space.qapi} | 0 tests/qapi-schema/doc-missing.err | 2 +- .../{doc-missing.json => doc-missing.qapi} | 0 tests/qapi-schema/doc-no-symbol.err | 2 +- .../{doc-no-symbol.json => doc-no-symbol.qapi} | 0 tests/qapi-schema/double-data.err | 2 +- .../{double-data.json => double-data.qapi} | 0 tests/qapi-schema/double-type.err | 2 +- .../{double-type.json => double-type.qapi} | 0 tests/qapi-schema/duplicate-key.err | 2 +- .../{duplicate-key.json => duplicate-key.qapi} | 0 tests/qapi-schema/{empty.json => empty.qapi} | 0 tests/qapi-schema/enum-bad-name.err | 2 +- .../{enum-bad-name.json => enum-bad-name.qapi} | 0 tests/qapi-schema/enum-bad-prefix.err | 2 +- .../{enum-bad-prefix.json => enum-bad-prefix.qapi} | 0 tests/qapi-schema/enum-clash-member.err | 2 +- ...um-clash-member.json => enum-clash-member.qapi} | 0 tests/qapi-schema/enum-dict-member.err | 2 +- ...enum-dict-member.json => enum-dict-member.qapi} | 0 tests/qapi-schema/enum-int-member.err | 2 +- .../{enum-int-member.json => enum-int-member.qapi} | 0 tests/qapi-schema/enum-member-case.err | 2 +- ...enum-member-case.json => enum-member-case.qapi} | 0 tests/qapi-schema/enum-missing-data.err | 2 +- ...um-missing-data.json => enum-missing-data.qapi} | 0 tests/qapi-schema/enum-wrong-data.err | 2 +- .../{enum-wrong-data.json => enum-wrong-data.qapi} | 0 tests/qapi-schema/escape-outside-string.err | 2 +- ...side-string.json => escape-outside-string.qapi} | 0 tests/qapi-schema/escape-too-big.err | 2 +- .../{escape-too-big.json => escape-too-big.qapi} | 0 tests/qapi-schema/escape-too-short.err | 2 +- ...escape-too-short.json => escape-too-short.qapi} | 0 tests/qapi-schema/event-boxed-empty.err | 2 +- ...ent-boxed-empty.json => event-boxed-empty.qapi} | 0 tests/qapi-schema/event-case.out | 2 +- .../{event-case.json => event-case.qapi} | 0 tests/qapi-schema/event-nest-struct.err | 2 +- ...ent-nest-struct.json => event-nest-struct.qapi} | 0 tests/qapi-schema/flat-union-array-branch.err | 2 +- ...ay-branch.json => flat-union-array-branch.qapi} | 0 tests/qapi-schema/flat-union-bad-base.err | 2 +- ...nion-bad-base.json => flat-union-bad-base.qapi} | 0 tests/qapi-schema/flat-union-bad-discriminator.err | 2 +- ...ator.json => flat-union-bad-discriminator.qapi} | 0 tests/qapi-schema/flat-union-base-any.err | 2 +- ...nion-base-any.json => flat-union-base-any.qapi} | 0 tests/qapi-schema/flat-union-base-union.err | 2 +- ...-base-union.json => flat-union-base-union.qapi} | 0 tests/qapi-schema/flat-union-clash-member.err | 2 +- ...sh-member.json => flat-union-clash-member.qapi} | 0 tests/qapi-schema/flat-union-empty.err | 2 +- ...flat-union-empty.json => flat-union-empty.qapi} | 0 tests/qapi-schema/flat-union-incomplete-branch.err | 2 +- ...anch.json => flat-union-incomplete-branch.qapi} | 0 tests/qapi-schema/flat-union-inline.err | 2 +- ...at-union-inline.json => flat-union-inline.qapi} | 0 tests/qapi-schema/flat-union-int-branch.err | 2 +- ...-int-branch.json => flat-union-int-branch.qapi} | 0 .../qapi-schema/flat-union-invalid-branch-key.err | 2 +- ...key.json => flat-union-invalid-branch-key.qapi} | 0 .../flat-union-invalid-discriminator.err | 2 +- ....json => flat-union-invalid-discriminator.qapi} | 0 tests/qapi-schema/flat-union-no-base.err | 2 +- ...-union-no-base.json => flat-union-no-base.qapi} | 0 .../flat-union-optional-discriminator.err | 2 +- ...json => flat-union-optional-discriminator.qapi} | 0 .../flat-union-string-discriminator.err | 2 +- ...r.json => flat-union-string-discriminator.qapi} | 0 tests/qapi-schema/funny-char.err | 2 +- .../{funny-char.json => funny-char.qapi} | 0 tests/qapi-schema/ident-with-escape.out | 2 +- ...ent-with-escape.json => ident-with-escape.qapi} | 0 tests/qapi-schema/include-before-err.err | 2 +- tests/qapi-schema/include-before-err.json | 2 - tests/qapi-schema/include-before-err.qapi | 2 + tests/qapi-schema/include-cycle-b.json | 1 - tests/qapi-schema/include-cycle-b.qapi | 1 + tests/qapi-schema/include-cycle-c.json | 1 - tests/qapi-schema/include-cycle-c.qapi | 1 + tests/qapi-schema/include-cycle.err | 6 +- tests/qapi-schema/include-cycle.json | 1 - tests/qapi-schema/include-cycle.qapi | 1 + tests/qapi-schema/include-extra-junk.err | 2 +- tests/qapi-schema/include-extra-junk.json | 3 - tests/qapi-schema/include-extra-junk.qapi | 3 + tests/qapi-schema/include-format-err.err | 2 +- tests/qapi-schema/include-format-err.json | 2 - tests/qapi-schema/include-format-err.qapi | 2 + tests/qapi-schema/include-nested-err.err | 4 +- tests/qapi-schema/include-nested-err.json | 1 - tests/qapi-schema/include-nested-err.qapi | 1 + tests/qapi-schema/include-no-file.err | 2 +- tests/qapi-schema/include-no-file.json | 1 - tests/qapi-schema/include-no-file.qapi | 1 + tests/qapi-schema/include-non-file.err | 2 +- ...include-non-file.json => include-non-file.qapi} | 0 ...e-relpath-sub.json => include-relpath-sub.qapi} | 0 tests/qapi-schema/include-relpath.json | 1 - tests/qapi-schema/include-relpath.out | 10 +- tests/qapi-schema/include-relpath.qapi | 1 + tests/qapi-schema/include-repetition-sub.json | 2 - tests/qapi-schema/include-repetition-sub.qapi | 2 + tests/qapi-schema/include-repetition.json | 3 - tests/qapi-schema/include-repetition.out | 20 +- tests/qapi-schema/include-repetition.qapi | 3 + tests/qapi-schema/include-self-cycle.err | 2 +- tests/qapi-schema/include-self-cycle.json | 1 - tests/qapi-schema/include-self-cycle.qapi | 1 + ...ude-simple-sub.json => include-simple-sub.qapi} | 0 tests/qapi-schema/include-simple.json | 1 - tests/qapi-schema/include-simple.out | 6 +- tests/qapi-schema/include-simple.qapi | 1 + tests/qapi-schema/include/relpath.json | 1 - tests/qapi-schema/include/relpath.qapi | 1 + tests/qapi-schema/indented-expr.out | 2 +- .../{indented-expr.json => indented-expr.qapi} | 0 tests/qapi-schema/leading-comma-list.err | 2 +- ...ing-comma-list.json => leading-comma-list.qapi} | 0 tests/qapi-schema/leading-comma-object.err | 2 +- ...comma-object.json => leading-comma-object.qapi} | 0 tests/qapi-schema/missing-colon.err | 2 +- .../{missing-colon.json => missing-colon.qapi} | 0 tests/qapi-schema/missing-comma-list.err | 2 +- ...ing-comma-list.json => missing-comma-list.qapi} | 0 tests/qapi-schema/missing-comma-object.err | 2 +- ...comma-object.json => missing-comma-object.qapi} | 0 tests/qapi-schema/missing-type.err | 2 +- .../{missing-type.json => missing-type.qapi} | 0 tests/qapi-schema/nested-struct-data.err | 2 +- ...ed-struct-data.json => nested-struct-data.qapi} | 0 tests/qapi-schema/non-objects.err | 2 +- .../{non-objects.json => non-objects.qapi} | 0 tests/qapi-schema/oob-test.err | 2 +- tests/qapi-schema/{oob-test.json => oob-test.qapi} | 0 tests/qapi-schema/pragma-doc-required-crap.err | 2 +- ...red-crap.json => pragma-doc-required-crap.qapi} | 0 tests/qapi-schema/pragma-extra-junk.err | 2 +- ...agma-extra-junk.json => pragma-extra-junk.qapi} | 0 .../pragma-name-case-whitelist-crap.err | 2 +- ...p.json => pragma-name-case-whitelist-crap.qapi} | 0 tests/qapi-schema/pragma-non-dict.err | 2 +- .../{pragma-non-dict.json => pragma-non-dict.qapi} | 0 .../qapi-schema/pragma-returns-whitelist-crap.err | 2 +- ...rap.json => pragma-returns-whitelist-crap.qapi} | 0 tests/qapi-schema/qapi-schema-test.out | 2 +- ...qapi-schema-test.json => qapi-schema-test.qapi} | 0 tests/qapi-schema/quoted-structural-chars.err | 2 +- ...ral-chars.json => quoted-structural-chars.qapi} | 0 tests/qapi-schema/redefined-builtin.err | 2 +- ...defined-builtin.json => redefined-builtin.qapi} | 0 tests/qapi-schema/redefined-command.err | 2 +- ...defined-command.json => redefined-command.qapi} | 0 tests/qapi-schema/redefined-event.err | 2 +- .../{redefined-event.json => redefined-event.qapi} | 0 tests/qapi-schema/redefined-type.err | 2 +- .../{redefined-type.json => redefined-type.qapi} | 0 tests/qapi-schema/reserved-command-q.err | 2 +- ...rved-command-q.json => reserved-command-q.qapi} | 0 tests/qapi-schema/reserved-enum-q.err | 2 +- .../{reserved-enum-q.json => reserved-enum-q.qapi} | 0 tests/qapi-schema/reserved-member-has.err | 2 +- ...ed-member-has.json => reserved-member-has.qapi} | 0 tests/qapi-schema/reserved-member-q.err | 2 +- ...served-member-q.json => reserved-member-q.qapi} | 0 tests/qapi-schema/reserved-member-u.err | 2 +- ...served-member-u.json => reserved-member-u.qapi} | 0 tests/qapi-schema/reserved-member-underscore.err | 2 +- ...rscore.json => reserved-member-underscore.qapi} | 0 tests/qapi-schema/reserved-type-kind.err | 2 +- ...rved-type-kind.json => reserved-type-kind.qapi} | 0 tests/qapi-schema/reserved-type-list.err | 2 +- ...rved-type-list.json => reserved-type-list.qapi} | 0 tests/qapi-schema/returns-alternate.err | 2 +- ...turns-alternate.json => returns-alternate.qapi} | 0 tests/qapi-schema/returns-array-bad.err | 2 +- ...turns-array-bad.json => returns-array-bad.qapi} | 0 tests/qapi-schema/returns-dict.err | 2 +- .../{returns-dict.json => returns-dict.qapi} | 0 tests/qapi-schema/returns-unknown.err | 2 +- .../{returns-unknown.json => returns-unknown.qapi} | 0 tests/qapi-schema/returns-whitelist.err | 2 +- ...turns-whitelist.json => returns-whitelist.qapi} | 0 tests/qapi-schema/struct-base-clash-deep.err | 2 +- ...clash-deep.json => struct-base-clash-deep.qapi} | 0 tests/qapi-schema/struct-base-clash.err | 2 +- ...ruct-base-clash.json => struct-base-clash.qapi} | 0 tests/qapi-schema/struct-data-invalid.err | 2 +- ...-data-invalid.json => struct-data-invalid.qapi} | 0 tests/qapi-schema/struct-member-invalid.err | 2 +- ...ber-invalid.json => struct-member-invalid.qapi} | 0 tests/qapi-schema/trailing-comma-list.err | 2 +- ...ng-comma-list.json => trailing-comma-list.qapi} | 0 tests/qapi-schema/trailing-comma-object.err | 2 +- ...omma-object.json => trailing-comma-object.qapi} | 0 tests/qapi-schema/type-bypass-bad-gen.err | 2 +- ...ypass-bad-gen.json => type-bypass-bad-gen.qapi} | 0 tests/qapi-schema/unclosed-list.err | 2 +- .../{unclosed-list.json => unclosed-list.qapi} | 0 tests/qapi-schema/unclosed-object.err | 2 +- .../{unclosed-object.json => unclosed-object.qapi} | 0 tests/qapi-schema/unclosed-string.err | 2 +- .../{unclosed-string.json => unclosed-string.qapi} | 0 tests/qapi-schema/unicode-str.err | 2 +- .../{unicode-str.json => unicode-str.qapi} | 0 tests/qapi-schema/union-base-empty.err | 2 +- ...union-base-empty.json => union-base-empty.qapi} | 0 tests/qapi-schema/union-base-no-discriminator.err | 2 +- ...nator.json => union-base-no-discriminator.qapi} | 0 tests/qapi-schema/union-branch-case.err | 2 +- ...ion-branch-case.json => union-branch-case.qapi} | 0 tests/qapi-schema/union-clash-branches.err | 2 +- ...ash-branches.json => union-clash-branches.qapi} | 0 tests/qapi-schema/union-empty.err | 2 +- .../{union-empty.json => union-empty.qapi} | 0 tests/qapi-schema/union-invalid-base.err | 2 +- ...n-invalid-base.json => union-invalid-base.qapi} | 0 tests/qapi-schema/union-optional-branch.err | 2 +- ...onal-branch.json => union-optional-branch.qapi} | 0 tests/qapi-schema/union-unknown.err | 2 +- .../{union-unknown.json => union-unknown.qapi} | 0 tests/qapi-schema/unknown-escape.err | 2 +- .../{unknown-escape.json => unknown-escape.qapi} | 0 tests/qapi-schema/unknown-expr-key.err | 2 +- ...unknown-expr-key.json => unknown-expr-key.qapi} | 0 381 files changed, 442 insertions(+), 442 deletions(-) rename qapi/{block-core.json => block-core.qapi} (99%) rename qapi/{block.json => block.qapi} (99%) rename qapi/{char.json => char.qapi} (99%) rename qapi/{common.json => common.qapi} (100%) rename qapi/{crypto.json => crypto.qapi} (100%) rename qapi/{introspect.json => introspect.qapi} (100%) rename qapi/{migration.json => migration.qapi} (99%) rename qapi/{misc.json => misc.qapi} (100%) rename qapi/{net.json => net.qapi} (99%) rename qapi/{qga-schema.json => qga-schema.qapi} (100%) rename qapi/{qmp-schema.json => qmp-schema.qapi} (88%) rename qapi/{rocker.json => rocker.qapi} (100%) rename qapi/{run-state.json => run-state.qapi} (100%) rename qapi/{sockets.json => sockets.qapi} (99%) rename qapi/{tpm.json => tpm.qapi} (100%) rename qapi/{trace.json => trace.qapi} (100%) rename qapi/{transaction.json => transaction.qapi} (99%) rename qapi/{ui.json => ui.qapi} (99%) rename tests/qapi-schema/{alternate-any.json => alternate-any.qapi} (100%) rename tests/qapi-schema/{alternate-array.json => alternate-array.qapi} (100%) rename tests/qapi-schema/{alternate-base.json => alternate-base.qapi} (100%) rename tests/qapi-schema/{alternate-clash.json => alternate-clash.qapi} (100%) rename tests/qapi-schema/{alternate-conflict-bool-string.json => alternate-conflict-bool-string.qapi} (100%) rename tests/qapi-schema/{alternate-conflict-dict.json => alternate-conflict-dict.qapi} (100%) rename tests/qapi-schema/{alternate-conflict-enum-bool.json => alternate-conflict-enum-bool.qapi} (100%) rename tests/qapi-schema/{alternate-conflict-enum-int.json => alternate-conflict-enum-int.qapi} (100%) rename tests/qapi-schema/{alternate-conflict-num-string.json => alternate-conflict-num-string.qapi} (100%) rename tests/qapi-schema/{alternate-conflict-string.json => alternate-conflict-string.qapi} (100%) rename tests/qapi-schema/{alternate-empty.json => alternate-empty.qapi} (100%) rename tests/qapi-schema/{alternate-nested.json => alternate-nested.qapi} (100%) rename tests/qapi-schema/{alternate-unknown.json => alternate-unknown.qapi} (100%) rename tests/qapi-schema/{args-alternate.json => args-alternate.qapi} (100%) rename tests/qapi-schema/{args-any.json => args-any.qapi} (100%) rename tests/qapi-schema/{args-array-empty.json => args-array-empty.qapi} (100%) rename tests/qapi-schema/{args-array-unknown.json => args-array-unknown.qapi} (100%) rename tests/qapi-schema/{args-bad-boxed.json => args-bad-boxed.qapi} (100%) rename tests/qapi-schema/{args-boxed-anon.json => args-boxed-anon.qapi} (100%) rename tests/qapi-schema/{args-boxed-empty.json => args-boxed-empty.qapi} (100%) rename tests/qapi-schema/{args-boxed-string.json => args-boxed-string.qapi} (100%) rename tests/qapi-schema/{args-int.json => args-int.qapi} (100%) rename tests/qapi-schema/{args-invalid.json => args-invalid.qapi} (100%) rename tests/qapi-schema/{args-member-array-bad.json => args-member-array-bad.qapi} (100%) rename tests/qapi-schema/{args-member-case.json => args-member-case.qapi} (100%) rename tests/qapi-schema/{args-member-unknown.json => args-member-unknown.qapi} (100%) rename tests/qapi-schema/{args-name-clash.json => args-name-clash.qapi} (100%) rename tests/qapi-schema/{args-union.json => args-union.qapi} (100%) rename tests/qapi-schema/{args-unknown.json => args-unknown.qapi} (100%) rename tests/qapi-schema/{bad-base.json => bad-base.qapi} (100%) rename tests/qapi-schema/{bad-data.json => bad-data.qapi} (100%) rename tests/qapi-schema/{bad-ident.json => bad-ident.qapi} (100%) rename tests/qapi-schema/{bad-type-bool.json => bad-type-bool.qapi} (100%) rename tests/qapi-schema/{bad-type-dict.json => bad-type-dict.qapi} (100%) rename tests/qapi-schema/{bad-type-int.json => bad-type-int.qapi} (100%) rename tests/qapi-schema/{base-cycle-direct.json => base-cycle-direct.qapi} (100%) rename tests/qapi-schema/{base-cycle-indirect.json => base-cycle-indirect.qapi} (100%) rename tests/qapi-schema/{command-int.json => command-int.qapi} (100%) rename tests/qapi-schema/{comments.json => comments.qapi} (100%) rename tests/qapi-schema/{doc-bad-alternate-member.json => doc-bad-alternate-member.qapi} (100%) rename tests/qapi-schema/{doc-bad-command-arg.json => doc-bad-command-arg.qapi} (100%) rename tests/qapi-schema/{doc-bad-section.json => doc-bad-section.qapi} (100%) rename tests/qapi-schema/{doc-bad-symbol.json => doc-bad-symbol.qapi} (100%) rename tests/qapi-schema/{doc-bad-union-member.json => doc-bad-union-member.qapi} (100%) rename tests/qapi-schema/{doc-before-include.json => doc-before-include.qapi} (81%) rename tests/qapi-schema/{doc-before-pragma.json => doc-before-pragma.qapi} (100%) rename tests/qapi-schema/{doc-duplicated-arg.json => doc-duplicated-arg.qapi} (100%) rename tests/qapi-schema/{doc-duplicated-return.json => doc-duplicated-return.qapi} (100%) rename tests/qapi-schema/{doc-duplicated-since.json => doc-duplicated-since.qapi} (100%) rename tests/qapi-schema/{doc-empty-arg.json => doc-empty-arg.qapi} (100%) rename tests/qapi-schema/{doc-empty-section.json => doc-empty-section.qapi} (100%) rename tests/qapi-schema/{doc-empty-symbol.json => doc-empty-symbol.qapi} (100%) rename tests/qapi-schema/{doc-good.json => doc-good.qapi} (100%) rename tests/qapi-schema/{doc-interleaved-section.json => doc-interleaved-section.qapi} (100%) rename tests/qapi-schema/{doc-invalid-end.json => doc-invalid-end.qapi} (100%) rename tests/qapi-schema/{doc-invalid-end2.json => doc-invalid-end2.qapi} (100%) rename tests/qapi-schema/{doc-invalid-return.json => doc-invalid-return.qapi} (100%) rename tests/qapi-schema/{doc-invalid-section.json => doc-invalid-section.qapi} (100%) rename tests/qapi-schema/{doc-invalid-start.json => doc-invalid-start.qapi} (100%) rename tests/qapi-schema/{doc-missing-colon.json => doc-missing-colon.qapi} (100%) rename tests/qapi-schema/{doc-missing-expr.json => doc-missing-expr.qapi} (100%) rename tests/qapi-schema/{doc-missing-space.json => doc-missing-space.qapi} (100%) rename tests/qapi-schema/{doc-missing.json => doc-missing.qapi} (100%) rename tests/qapi-schema/{doc-no-symbol.json => doc-no-symbol.qapi} (100%) rename tests/qapi-schema/{double-data.json => double-data.qapi} (100%) rename tests/qapi-schema/{double-type.json => double-type.qapi} (100%) rename tests/qapi-schema/{duplicate-key.json => duplicate-key.qapi} (100%) rename tests/qapi-schema/{empty.json => empty.qapi} (100%) rename tests/qapi-schema/{enum-bad-name.json => enum-bad-name.qapi} (100%) rename tests/qapi-schema/{enum-bad-prefix.json => enum-bad-prefix.qapi} (100%) rename tests/qapi-schema/{enum-clash-member.json => enum-clash-member.qapi} (100%) rename tests/qapi-schema/{enum-dict-member.json => enum-dict-member.qapi} (100%) rename tests/qapi-schema/{enum-int-member.json => enum-int-member.qapi} (100%) rename tests/qapi-schema/{enum-member-case.json => enum-member-case.qapi} (100%) rename tests/qapi-schema/{enum-missing-data.json => enum-missing-data.qapi} (100%) rename tests/qapi-schema/{enum-wrong-data.json => enum-wrong-data.qapi} (100%) rename tests/qapi-schema/{escape-outside-string.json => escape-outside-string.qapi} (100%) rename tests/qapi-schema/{escape-too-big.json => escape-too-big.qapi} (100%) rename tests/qapi-schema/{escape-too-short.json => escape-too-short.qapi} (100%) rename tests/qapi-schema/{event-boxed-empty.json => event-boxed-empty.qapi} (100%) rename tests/qapi-schema/{event-case.json => event-case.qapi} (100%) rename tests/qapi-schema/{event-nest-struct.json => event-nest-struct.qapi} (100%) rename tests/qapi-schema/{flat-union-array-branch.json => flat-union-array-branch.qapi} (100%) rename tests/qapi-schema/{flat-union-bad-base.json => flat-union-bad-base.qapi} (100%) rename tests/qapi-schema/{flat-union-bad-discriminator.json => flat-union-bad-discriminator.qapi} (100%) rename tests/qapi-schema/{flat-union-base-any.json => flat-union-base-any.qapi} (100%) rename tests/qapi-schema/{flat-union-base-union.json => flat-union-base-union.qapi} (100%) rename tests/qapi-schema/{flat-union-clash-member.json => flat-union-clash-member.qapi} (100%) rename tests/qapi-schema/{flat-union-empty.json => flat-union-empty.qapi} (100%) rename tests/qapi-schema/{flat-union-incomplete-branch.json => flat-union-incomplete-branch.qapi} (100%) rename tests/qapi-schema/{flat-union-inline.json => flat-union-inline.qapi} (100%) rename tests/qapi-schema/{flat-union-int-branch.json => flat-union-int-branch.qapi} (100%) rename tests/qapi-schema/{flat-union-invalid-branch-key.json => flat-union-invalid-branch-key.qapi} (100%) rename tests/qapi-schema/{flat-union-invalid-discriminator.json => flat-union-invalid-discriminator.qapi} (100%) rename tests/qapi-schema/{flat-union-no-base.json => flat-union-no-base.qapi} (100%) rename tests/qapi-schema/{flat-union-optional-discriminator.json => flat-union-optional-discriminator.qapi} (100%) rename tests/qapi-schema/{flat-union-string-discriminator.json => flat-union-string-discriminator.qapi} (100%) rename tests/qapi-schema/{funny-char.json => funny-char.qapi} (100%) rename tests/qapi-schema/{ident-with-escape.json => ident-with-escape.qapi} (100%) delete mode 100644 tests/qapi-schema/include-before-err.json create mode 100644 tests/qapi-schema/include-before-err.qapi delete mode 100644 tests/qapi-schema/include-cycle-b.json create mode 100644 tests/qapi-schema/include-cycle-b.qapi delete mode 100644 tests/qapi-schema/include-cycle-c.json create mode 100644 tests/qapi-schema/include-cycle-c.qapi delete mode 100644 tests/qapi-schema/include-cycle.json create mode 100644 tests/qapi-schema/include-cycle.qapi delete mode 100644 tests/qapi-schema/include-extra-junk.json create mode 100644 tests/qapi-schema/include-extra-junk.qapi delete mode 100644 tests/qapi-schema/include-format-err.json create mode 100644 tests/qapi-schema/include-format-err.qapi delete mode 100644 tests/qapi-schema/include-nested-err.json create mode 100644 tests/qapi-schema/include-nested-err.qapi delete mode 100644 tests/qapi-schema/include-no-file.json create mode 100644 tests/qapi-schema/include-no-file.qapi rename tests/qapi-schema/{include-non-file.json => include-non-file.qapi} (100%) rename tests/qapi-schema/{include-relpath-sub.json => include-relpath-sub.qapi} (100%) delete mode 100644 tests/qapi-schema/include-relpath.json create mode 100644 tests/qapi-schema/include-relpath.qapi delete mode 100644 tests/qapi-schema/include-repetition-sub.json create mode 100644 tests/qapi-schema/include-repetition-sub.qapi delete mode 100644 tests/qapi-schema/include-repetition.json create mode 100644 tests/qapi-schema/include-repetition.qapi delete mode 100644 tests/qapi-schema/include-self-cycle.json create mode 100644 tests/qapi-schema/include-self-cycle.qapi rename tests/qapi-schema/{include-simple-sub.json => include-simple-sub.qapi} (100%) delete mode 100644 tests/qapi-schema/include-simple.json create mode 100644 tests/qapi-schema/include-simple.qapi delete mode 100644 tests/qapi-schema/include/relpath.json create mode 100644 tests/qapi-schema/include/relpath.qapi rename tests/qapi-schema/{indented-expr.json => indented-expr.qapi} (100%) rename tests/qapi-schema/{leading-comma-list.json => leading-comma-list.qapi} (100%) rename tests/qapi-schema/{leading-comma-object.json => leading-comma-object.qapi} (100%) rename tests/qapi-schema/{missing-colon.json => missing-colon.qapi} (100%) rename tests/qapi-schema/{missing-comma-list.json => missing-comma-list.qapi} (100%) rename tests/qapi-schema/{missing-comma-object.json => missing-comma-object.qapi} (100%) rename tests/qapi-schema/{missing-type.json => missing-type.qapi} (100%) rename tests/qapi-schema/{nested-struct-data.json => nested-struct-data.qapi} (100%) rename tests/qapi-schema/{non-objects.json => non-objects.qapi} (100%) rename tests/qapi-schema/{oob-test.json => oob-test.qapi} (100%) rename tests/qapi-schema/{pragma-doc-required-crap.json => pragma-doc-required-crap.qapi} (100%) rename tests/qapi-schema/{pragma-extra-junk.json => pragma-extra-junk.qapi} (100%) rename tests/qapi-schema/{pragma-name-case-whitelist-crap.json => pragma-name-case-whitelist-crap.qapi} (100%) rename tests/qapi-schema/{pragma-non-dict.json => pragma-non-dict.qapi} (100%) rename tests/qapi-schema/{pragma-returns-whitelist-crap.json => pragma-returns-whitelist-crap.qapi} (100%) rename tests/qapi-schema/{qapi-schema-test.json => qapi-schema-test.qapi} (100%) rename tests/qapi-schema/{quoted-structural-chars.json => quoted-structural-chars.qapi} (100%) rename tests/qapi-schema/{redefined-builtin.json => redefined-builtin.qapi} (100%) rename tests/qapi-schema/{redefined-command.json => redefined-command.qapi} (100%) rename tests/qapi-schema/{redefined-event.json => redefined-event.qapi} (100%) rename tests/qapi-schema/{redefined-type.json => redefined-type.qapi} (100%) rename tests/qapi-schema/{reserved-command-q.json => reserved-command-q.qapi} (100%) rename tests/qapi-schema/{reserved-enum-q.json => reserved-enum-q.qapi} (100%) rename tests/qapi-schema/{reserved-member-has.json => reserved-member-has.qapi} (100%) rename tests/qapi-schema/{reserved-member-q.json => reserved-member-q.qapi} (100%) rename tests/qapi-schema/{reserved-member-u.json => reserved-member-u.qapi} (100%) rename tests/qapi-schema/{reserved-member-underscore.json => reserved-member-underscore.qapi} (100%) rename tests/qapi-schema/{reserved-type-kind.json => reserved-type-kind.qapi} (100%) rename tests/qapi-schema/{reserved-type-list.json => reserved-type-list.qapi} (100%) rename tests/qapi-schema/{returns-alternate.json => returns-alternate.qapi} (100%) rename tests/qapi-schema/{returns-array-bad.json => returns-array-bad.qapi} (100%) rename tests/qapi-schema/{returns-dict.json => returns-dict.qapi} (100%) rename tests/qapi-schema/{returns-unknown.json => returns-unknown.qapi} (100%) rename tests/qapi-schema/{returns-whitelist.json => returns-whitelist.qapi} (100%) rename tests/qapi-schema/{struct-base-clash-deep.json => struct-base-clash-deep.qapi} (100%) rename tests/qapi-schema/{struct-base-clash.json => struct-base-clash.qapi} (100%) rename tests/qapi-schema/{struct-data-invalid.json => struct-data-invalid.qapi} (100%) rename tests/qapi-schema/{struct-member-invalid.json => struct-member-invalid.qapi} (100%) rename tests/qapi-schema/{trailing-comma-list.json => trailing-comma-list.qapi} (100%) rename tests/qapi-schema/{trailing-comma-object.json => trailing-comma-object.qapi} (100%) rename tests/qapi-schema/{type-bypass-bad-gen.json => type-bypass-bad-gen.qapi} (100%) rename tests/qapi-schema/{unclosed-list.json => unclosed-list.qapi} (100%) rename tests/qapi-schema/{unclosed-object.json => unclosed-object.qapi} (100%) rename tests/qapi-schema/{unclosed-string.json => unclosed-string.qapi} (100%) rename tests/qapi-schema/{unicode-str.json => unicode-str.qapi} (100%) rename tests/qapi-schema/{union-base-empty.json => union-base-empty.qapi} (100%) rename tests/qapi-schema/{union-base-no-discriminator.json => union-base-no-discriminator.qapi} (100%) rename tests/qapi-schema/{union-branch-case.json => union-branch-case.qapi} (100%) rename tests/qapi-schema/{union-clash-branches.json => union-clash-branches.qapi} (100%) rename tests/qapi-schema/{union-empty.json => union-empty.qapi} (100%) rename tests/qapi-schema/{union-invalid-base.json => union-invalid-base.qapi} (100%) rename tests/qapi-schema/{union-optional-branch.json => union-optional-branch.qapi} (100%) rename tests/qapi-schema/{union-unknown.json => union-unknown.qapi} (100%) rename tests/qapi-schema/{unknown-escape.json => unknown-escape.qapi} (100%) rename tests/qapi-schema/{unknown-expr-key.json => unknown-expr-key.qapi} (100%)docs/devel/blkdebug.txt +1
-1@@ -92,7 +92,7 @@ The core events are: flush_to_disk - flush the host block device's disk cache -See qapi/block-core.json:BlkdebugEvent for the full list of events. +See qapi/block-core.qapi:BlkdebugEvent for the full list of events. You may need to grep block driver source code to understand the meaning of specific events.docs/devel/qapi-code-gen.txt +3
-3@@ -293,7 +293,7 @@ Usage: { 'include': STRING } The QAPI schema definitions can be modularized using the 'include' directive: - { 'include': 'path/to/file.json' } + { 'include': 'path/to/file.qapi' } The directive is evaluated recursively, and include paths are relative to the file using the directive. Multiple includes of the same file are@@ -961,7 +961,7 @@ list of that type as a parameter, and returns a single element of that type. The user is responsible for writing the implementation of qmp_my_command(); everything else is produced by the generator. - $ cat example-schema.json + $ cat example-schema.qapi { 'struct': 'UserDefOne', 'data': { 'integer': 'int', '*string': 'str' } }@@ -977,7 +977,7 @@ We run qapi-gen.py like this: --prefix="example-" example-schema.json For a more thorough look at generated code, the testsuite includes -tests/qapi-schema/qapi-schema-tests.json that covers more examples of +tests/qapi-schema/qapi-schema-tests.qapi that covers more examples of what the generator will accept, and compiles the resulting C code as part of 'make check-unit'.docs/devel/testing.rst +2
-2@@ -132,7 +132,7 @@ output. The input/output data is managed under the ``tests/qapi-schema`` directory. Each test case includes four files that have a common base name: - * ``${casename}.json`` - the file contains the JSON input for feeding the + * ``${casename}.qapi`` - the file contains the JSON input for feeding the parser * ``${casename}.out`` - the file contains the expected stdout from the parser * ``${casename}.err`` - the file contains the expected stderr from the parser@@ -147,7 +147,7 @@ parser (either fixing a bug or extending/modifying the syntax). To do this: 2. Add the new test in ``tests/Makefile.include``. For example: - ``qapi-schema += foo.json`` + ``qapi-schema += foo.qapi`` check-block -----------docs/devel/writing-qmp-commands.txt +2
-2@@ -89,7 +89,7 @@ Our command will be called "hello-world". It takes no arguments, nor does it return any data. The first step is defining the command in the appropriate QAPI schema -module. We pick module qapi/misc.json, and add the following line at +module. We pick module qapi/misc.qapi, and add the following line at the bottom: { 'command': 'hello-world' }@@ -239,7 +239,7 @@ There's only one step missing to make "hello-world"'s implementation complete, and that's its documentation in the schema file. There are many examples of such documentation in the schema file already, but -here goes "hello-world"'s new entry for qapi/misc.json: +here goes "hello-world"'s new entry for qapi/misc.qapi: ## # @hello-worlddocs/interop/live-block-operations.rst +2
-2@@ -20,7 +20,7 @@ primitives, and some (non-exhaustive list of) examples to illustrate their use. .. note:: - The file ``qapi/block-core.json`` in the QEMU source tree has the + The file ``qapi/block-core.qapi`` in the QEMU source tree has the canonical QEMU API (QAPI) schema documentation for the QMP primitives discussed here.@@ -54,7 +54,7 @@ files in a disk image backing chain: (1) Directional: 'base' and 'top'. Given the simple disk image chain above, image [A] can be referred to as 'base', and image [B] as 'top'. (This terminology can be seen in in QAPI schema file, - block-core.json.) + block-core.qapi.) (2) Relational: 'backing file' and 'overlay'. Again, taking the same simple disk image chain from the above, disk image [A] is referreddocs/interop/qmp-intro.txt +1
-1@@ -79,7 +79,7 @@ Escape character is '^]'. } Please refer to docs/interop/qemu-qmp-ref.* for a complete command -reference, generated from qapi/qmp-schema.json. +reference, generated from qapi/qmp-schema.qapi. QMP wiki page -------------Makefile +16
-16@@ -571,27 +571,27 @@ qga/qapi-generated/qga-qapi-visit.c qga/qapi-generated/qga-qapi-visit.h \ qga/qapi-generated/qga-qapi-commands.h qga/qapi-generated/qga-qapi-commands.c \ qga/qapi-generated/qga-qapi-doc.texi: \ qga/qapi-generated/qga-gen-timestamp ; -qga/qapi-generated/qga-gen-timestamp: $(SRC_PATH)/qapi/qga-schema.json $(qapi-py) +qga/qapi-generated/qga-gen-timestamp: $(SRC_PATH)/qapi/qga-schema.qapi $(qapi-py) $(call quiet-command,$(PYTHON_UTF8) $(SRC_PATH)/scripts/qapi-gen.py \ -o qga/qapi-generated -p "qga-" $<, \ "GEN","$(@:%-timestamp=%)") @>$@ -qmp-modules = $(SRC_PATH)/qapi/qmp-schema.json $(SRC_PATH)/qapi/common.json \ - $(SRC_PATH)/qapi/block.json $(SRC_PATH)/qapi/block-core.json \ - $(SRC_PATH)/qapi/char.json \ - $(SRC_PATH)/qapi/crypto.json \ - $(SRC_PATH)/qapi/introspect.json \ - $(SRC_PATH)/qapi/migration.json \ - $(SRC_PATH)/qapi/misc.json \ - $(SRC_PATH)/qapi/net.json \ - $(SRC_PATH)/qapi/rocker.json \ - $(SRC_PATH)/qapi/run-state.json \ - $(SRC_PATH)/qapi/sockets.json \ - $(SRC_PATH)/qapi/tpm.json \ - $(SRC_PATH)/qapi/trace.json \ - $(SRC_PATH)/qapi/transaction.json \ - $(SRC_PATH)/qapi/ui.json +qmp-modules = $(SRC_PATH)/qapi/qmp-schema.qapi $(SRC_PATH)/qapi/common.qapi \ + $(SRC_PATH)/qapi/block.qapi $(SRC_PATH)/qapi/block-core.qapi \ + $(SRC_PATH)/qapi/char.qapi \ + $(SRC_PATH)/qapi/crypto.qapi \ + $(SRC_PATH)/qapi/introspect.qapi \ + $(SRC_PATH)/qapi/migration.qapi \ + $(SRC_PATH)/qapi/misc.qapi \ + $(SRC_PATH)/qapi/net.qapi \ + $(SRC_PATH)/qapi/rocker.qapi \ + $(SRC_PATH)/qapi/run-state.qapi \ + $(SRC_PATH)/qapi/sockets.qapi \ + $(SRC_PATH)/qapi/tpm.qapi \ + $(SRC_PATH)/qapi/trace.qapi \ + $(SRC_PATH)/qapi/transaction.qapi \ + $(SRC_PATH)/qapi/ui.qapi qapi/qapi-builtin-types.c qapi/qapi-builtin-types.h \ qapi/qapi-types.c qapi/qapi-types.h \qapi/block-core.qapi renamed from qapi/block-core.json +3
-3@@ -4,9 +4,9 @@ # == Block core (VM unrelated) ## -{ 'include': 'common.json' } -{ 'include': 'crypto.json' } -{ 'include': 'sockets.json' } +{ 'include': 'common.qapi' } +{ 'include': 'crypto.qapi' } +{ 'include': 'sockets.qapi' } ## # @SnapshotInfo:qapi/block.qapi renamed from qapi/block.json +1
-1@@ -4,7 +4,7 @@ # = Block devices ## -{ 'include': 'block-core.json' } +{ 'include': 'block-core.qapi' } ## # == Additional block stuff (VM related)qapi/char.qapi renamed from qapi/char.json +1
-1@@ -5,7 +5,7 @@ # = Character devices ## -{ 'include': 'sockets.json' } +{ 'include': 'sockets.qapi' } ## # @ChardevInfo:qapi/common.qapi renamed from qapi/common.json +0
-0qapi/crypto.qapi renamed from qapi/crypto.json +0
-0qapi/introspect.qapi renamed from qapi/introspect.json +0
-0qapi/migration.qapi renamed from qapi/migration.json +1
-1@@ -5,7 +5,7 @@ # = Migration ## -{ 'include': 'common.json' } +{ 'include': 'common.qapi' } ## # @MigrationStats:qapi/misc.qapi renamed from qapi/misc.json +0
-0qapi/net.qapi renamed from qapi/net.json +1
-1@@ -5,7 +5,7 @@ # = Net devices ## -{ 'include': 'common.json' } +{ 'include': 'common.qapi' } ## # @set_link:qapi/qga-schema.qapi renamed from qapi/qga-schema.json +0
-0qapi/qmp-schema.qapi renamed from qapi/qmp-schema.json +15
-15@@ -78,18 +78,18 @@ # stable order, it's best to include each sub-schema just once, or # include it first right here. -{ 'include': 'common.json' } -{ 'include': 'sockets.json' } -{ 'include': 'run-state.json' } -{ 'include': 'crypto.json' } -{ 'include': 'block.json' } -{ 'include': 'char.json' } -{ 'include': 'net.json' } -{ 'include': 'rocker.json' } -{ 'include': 'tpm.json' } -{ 'include': 'ui.json' } -{ 'include': 'migration.json' } -{ 'include': 'transaction.json' } -{ 'include': 'trace.json' } -{ 'include': 'introspect.json' } -{ 'include': 'misc.json' } +{ 'include': 'common.qapi' } +{ 'include': 'sockets.qapi' } +{ 'include': 'run-state.qapi' } +{ 'include': 'crypto.qapi' } +{ 'include': 'block.qapi' } +{ 'include': 'char.qapi' } +{ 'include': 'net.qapi' } +{ 'include': 'rocker.qapi' } +{ 'include': 'tpm.qapi' } +{ 'include': 'ui.qapi' } +{ 'include': 'migration.qapi' } +{ 'include': 'transaction.qapi' } +{ 'include': 'trace.qapi' } +{ 'include': 'introspect.qapi' } +{ 'include': 'misc.qapi' }qapi/rocker.qapi renamed from qapi/rocker.json +0
-0qapi/run-state.qapi renamed from qapi/run-state.json +0
-0qapi/sockets.qapi renamed from qapi/sockets.json +1
-1@@ -4,7 +4,7 @@ # = Socket data types ## -{ 'include': 'common.json' } +{ 'include': 'common.qapi' } ## # @NetworkAddressFamily:qapi/tpm.qapi renamed from qapi/tpm.json +0
-0qapi/trace.qapi renamed from qapi/trace.json +0
-0qapi/transaction.qapi renamed from qapi/transaction.json +1
-1@@ -5,7 +5,7 @@ # = Transactions ## -{ 'include': 'block.json' } +{ 'include': 'block.qapi' } ## # @Abort:qapi/ui.qapi renamed from qapi/ui.json +1
-1@@ -5,7 +5,7 @@ # = Remote desktop ## -{ 'include': 'sockets.json' } +{ 'include': 'sockets.qapi' } ## # @set_password:include/crypto/block.h +1
-1@@ -27,7 +27,7 @@typedef struct QCryptoBlock QCryptoBlock ;/* See also QCryptoBlockFormat, QCryptoBlockCreateOptions -* and QCryptoBlockOpenOptions in qapi/crypto.json */ +* and QCryptoBlockOpenOptions in qapi/crypto.qapi */ typedef ssize_t (*QCryptoBlockReadFunc)(QCryptoBlock *block, size_t offset,include/crypto/cipher.h +1
-1@@ -26,7 +26,7 @@typedef struct QCryptoCipher QCryptoCipher ;/* See also "QCryptoCipherAlgorithm" and "QCryptoCipherMode" -* enums defined in qapi/crypto.json */ +* enums defined in qapi/crypto.qapi */ /** * QCryptoCipher: include/crypto/hash.h +1
-1@@ -23,7 +23,7 @@#include "qapi/qapi-types-crypto.h" -/* See also "QCryptoHashAlgorithm" defined in qapi/crypto.json */ +/* See also "QCryptoHashAlgorithm" defined in qapi/crypto.qapi */ /** * qcrypto_hash_supports: include/crypto/ivgen.h +1
-1@@ -97,7 +97,7 @@typedef struct QCryptoIVGen QCryptoIVGen ; -/* See also QCryptoIVGenAlgorithm enum in qapi/crypto.json */ +/* See also QCryptoIVGenAlgorithm enum in qapi/crypto.qapi */ /** MAINTAINERS +13
-13@@ -1380,8 +1380,8 @@ M: Markus Armbruster <[email protected]> S: Supported F: blockdev.c F: block/qapi.c -F: qapi/block*.json -F: qapi/transaction.json +F: qapi/block*.qapi +F: qapi/transaction.qapi T: git git://repo.or.cz/qemu/armbru.git block-next Dirty Bitmaps@@ -1404,7 +1404,7 @@ M: Marc-André Lureau <[email protected]> S: Maintained F: chardev/ F: include/chardev/ -F: qapi/char.json +F: qapi/char.qapi Character Devices (Braille) M: Samuel Thibault <[email protected]>@@ -1482,14 +1482,14 @@ F: include/ui/spice-display.h F: ui/spice-*.c F: audio/spiceaudio.c F: hw/display/qxl* -F: qapi/ui.json +F: qapi/ui.qapi Graphics M: Gerd Hoffmann <[email protected]> S: Odd Fixes F: ui/ F: include/ui/ -F: qapi/ui.json +F: qapi/ui.qapi Cocoa graphics M: Peter Maydell <[email protected]>@@ -1503,7 +1503,7 @@ F: cpus.c F: util/main-loop.c F: util/qemu-timer.c F: vl.c -F: qapi/run-state.json +F: qapi/run-state.qapi Human Monitor (HMP) M: Dr. David Alan Gilbert <[email protected]>@@ -1520,7 +1520,7 @@ S: Maintained F: net/ F: include/net/ T: git git://github.com/jasowang/qemu.git net -F: qapi/net.json +F: qapi/net.qapi Netmap network backend M: Luigi Rizzo <[email protected]>@@ -1564,7 +1564,7 @@ M: Markus Armbruster <[email protected]> M: Michael Roth <[email protected]> S: Supported F: qapi/ -X: qapi/*.json +X: qapi/*.qapi F: include/qapi/ X: include/qapi/qmp/ F: include/qapi/qmp/dispatch.h@@ -1581,7 +1581,7 @@ QAPI Schema M: Eric Blake <[email protected]> M: Markus Armbruster <[email protected]> S: Supported -F: qapi/*.json +F: qapi/*.qapi T: git git://repo.or.cz/qemu/armbru.git qapi-next QObject@@ -1602,7 +1602,7 @@ QEMU Guest Agent M: Michael Roth <[email protected]> S: Maintained F: qga/ -F: qapi/qga-schema.json +F: qapi/qga-schema.qapi F: qemu-ga.texi F: scripts/qemu-guest-agent/ F: tests/test-qga.c@@ -1669,7 +1669,7 @@ F: stubs/tpm.c F: hw/tpm/* F: include/hw/acpi/tpm.h F: include/sysemu/tpm* -F: qapi/tpm.json +F: qapi/tpm.qapi F: backends/tpm.c F: tests/*tpm* T: git git://github.com/stefanberger/qemu-tpm.git tpm-next@@ -1688,7 +1688,7 @@ F: scripts/vmstate-static-checker.py F: tests/vmstate-static-checker-data/ F: tests/migration-test.c F: docs/devel/migration.txt -F: qapi/migration.json +F: qapi/migration.qapi Seccomp M: Eduardo Otubo <[email protected]>@@ -1732,7 +1732,7 @@ M: Paolo Bonzini <[email protected]> S: Maintained F: include/qemu/sockets.h F: util/qemu-sockets.c -F: qapi/sockets.json +F: qapi/sockets.qapi Throttling infrastructure M: Alberto Garcia <[email protected]>scripts/git.orderfile +1
-1@@ -19,7 +19,7 @@ Makefile* *.mak # qapi schema -*.json +*.qapi # headers *.htests/Makefile.include +168
-168@@ -404,171 +404,171 @@ check-qtest-generic-y += tests/machine-none-test$(EXESUF) check-qtest-generic-y += tests/qom-test$(EXESUF) check-qtest-generic-y += tests/test-hmp$(EXESUF) -qapi-schema += alternate-any.json -qapi-schema += alternate-array.json -qapi-schema += alternate-base.json -qapi-schema += alternate-clash.json -qapi-schema += alternate-conflict-dict.json -qapi-schema += alternate-conflict-enum-bool.json -qapi-schema += alternate-conflict-enum-int.json -qapi-schema += alternate-conflict-string.json -qapi-schema += alternate-conflict-bool-string.json -qapi-schema += alternate-conflict-num-string.json -qapi-schema += alternate-empty.json -qapi-schema += alternate-nested.json -qapi-schema += alternate-unknown.json -qapi-schema += args-alternate.json -qapi-schema += args-any.json -qapi-schema += args-array-empty.json -qapi-schema += args-array-unknown.json -qapi-schema += args-bad-boxed.json -qapi-schema += args-boxed-anon.json -qapi-schema += args-boxed-empty.json -qapi-schema += args-boxed-string.json -qapi-schema += args-int.json -qapi-schema += args-invalid.json -qapi-schema += args-member-array-bad.json -qapi-schema += args-member-case.json -qapi-schema += args-member-unknown.json -qapi-schema += args-name-clash.json -qapi-schema += args-union.json -qapi-schema += args-unknown.json -qapi-schema += bad-base.json -qapi-schema += bad-data.json -qapi-schema += bad-ident.json -qapi-schema += bad-type-bool.json -qapi-schema += bad-type-dict.json -qapi-schema += bad-type-int.json -qapi-schema += base-cycle-direct.json -qapi-schema += base-cycle-indirect.json -qapi-schema += command-int.json -qapi-schema += comments.json -qapi-schema += doc-bad-alternate-member.json -qapi-schema += doc-bad-command-arg.json -qapi-schema += doc-bad-section.json -qapi-schema += doc-bad-symbol.json -qapi-schema += doc-bad-union-member.json -qapi-schema += doc-before-include.json -qapi-schema += doc-before-pragma.json -qapi-schema += doc-duplicated-arg.json -qapi-schema += doc-duplicated-return.json -qapi-schema += doc-duplicated-since.json -qapi-schema += doc-empty-arg.json -qapi-schema += doc-empty-section.json -qapi-schema += doc-empty-symbol.json -qapi-schema += doc-good.json -qapi-schema += doc-interleaved-section.json -qapi-schema += doc-invalid-end.json -qapi-schema += doc-invalid-end2.json -qapi-schema += doc-invalid-return.json -qapi-schema += doc-invalid-section.json -qapi-schema += doc-invalid-start.json -qapi-schema += doc-missing-colon.json -qapi-schema += doc-missing-expr.json -qapi-schema += doc-missing-space.json -qapi-schema += doc-missing.json -qapi-schema += doc-no-symbol.json -qapi-schema += double-data.json -qapi-schema += double-type.json -qapi-schema += duplicate-key.json -qapi-schema += empty.json -qapi-schema += enum-bad-name.json -qapi-schema += enum-bad-prefix.json -qapi-schema += enum-clash-member.json -qapi-schema += enum-dict-member.json -qapi-schema += enum-int-member.json -qapi-schema += enum-member-case.json -qapi-schema += enum-missing-data.json -qapi-schema += enum-wrong-data.json -qapi-schema += escape-outside-string.json -qapi-schema += escape-too-big.json -qapi-schema += escape-too-short.json -qapi-schema += event-boxed-empty.json -qapi-schema += event-case.json -qapi-schema += event-nest-struct.json -qapi-schema += flat-union-array-branch.json -qapi-schema += flat-union-bad-base.json -qapi-schema += flat-union-bad-discriminator.json -qapi-schema += flat-union-base-any.json -qapi-schema += flat-union-base-union.json -qapi-schema += flat-union-clash-member.json -qapi-schema += flat-union-empty.json -qapi-schema += flat-union-incomplete-branch.json -qapi-schema += flat-union-inline.json -qapi-schema += flat-union-int-branch.json -qapi-schema += flat-union-invalid-branch-key.json -qapi-schema += flat-union-invalid-discriminator.json -qapi-schema += flat-union-no-base.json -qapi-schema += flat-union-optional-discriminator.json -qapi-schema += flat-union-string-discriminator.json -qapi-schema += funny-char.json -qapi-schema += ident-with-escape.json -qapi-schema += include-before-err.json -qapi-schema += include-cycle.json -qapi-schema += include-extra-junk.json -qapi-schema += include-format-err.json -qapi-schema += include-nested-err.json -qapi-schema += include-no-file.json -qapi-schema += include-non-file.json -qapi-schema += include-relpath.json -qapi-schema += include-repetition.json -qapi-schema += include-self-cycle.json -qapi-schema += include-simple.json -qapi-schema += indented-expr.json -qapi-schema += leading-comma-list.json -qapi-schema += leading-comma-object.json -qapi-schema += missing-colon.json -qapi-schema += missing-comma-list.json -qapi-schema += missing-comma-object.json -qapi-schema += missing-type.json -qapi-schema += nested-struct-data.json -qapi-schema += non-objects.json -qapi-schema += oob-test.json -qapi-schema += pragma-doc-required-crap.json -qapi-schema += pragma-extra-junk.json -qapi-schema += pragma-name-case-whitelist-crap.json -qapi-schema += pragma-non-dict.json -qapi-schema += pragma-returns-whitelist-crap.json -qapi-schema += qapi-schema-test.json -qapi-schema += quoted-structural-chars.json -qapi-schema += redefined-builtin.json -qapi-schema += redefined-command.json -qapi-schema += redefined-event.json -qapi-schema += redefined-type.json -qapi-schema += reserved-command-q.json -qapi-schema += reserved-enum-q.json -qapi-schema += reserved-member-has.json -qapi-schema += reserved-member-q.json -qapi-schema += reserved-member-u.json -qapi-schema += reserved-member-underscore.json -qapi-schema += reserved-type-kind.json -qapi-schema += reserved-type-list.json -qapi-schema += returns-alternate.json -qapi-schema += returns-array-bad.json -qapi-schema += returns-dict.json -qapi-schema += returns-unknown.json -qapi-schema += returns-whitelist.json -qapi-schema += struct-base-clash-deep.json -qapi-schema += struct-base-clash.json -qapi-schema += struct-data-invalid.json -qapi-schema += struct-member-invalid.json -qapi-schema += trailing-comma-list.json -qapi-schema += trailing-comma-object.json -qapi-schema += type-bypass-bad-gen.json -qapi-schema += unclosed-list.json -qapi-schema += unclosed-object.json -qapi-schema += unclosed-string.json -qapi-schema += unicode-str.json -qapi-schema += union-base-empty.json -qapi-schema += union-base-no-discriminator.json -qapi-schema += union-branch-case.json -qapi-schema += union-clash-branches.json -qapi-schema += union-empty.json -qapi-schema += union-invalid-base.json -qapi-schema += union-optional-branch.json -qapi-schema += union-unknown.json -qapi-schema += unknown-escape.json -qapi-schema += unknown-expr-key.json +qapi-schema += alternate-any.qapi +qapi-schema += alternate-array.qapi +qapi-schema += alternate-base.qapi +qapi-schema += alternate-clash.qapi +qapi-schema += alternate-conflict-dict.qapi +qapi-schema += alternate-conflict-enum-bool.qapi +qapi-schema += alternate-conflict-enum-int.qapi +qapi-schema += alternate-conflict-string.qapi +qapi-schema += alternate-conflict-bool-string.qapi +qapi-schema += alternate-conflict-num-string.qapi +qapi-schema += alternate-empty.qapi +qapi-schema += alternate-nested.qapi +qapi-schema += alternate-unknown.qapi +qapi-schema += args-alternate.qapi +qapi-schema += args-any.qapi +qapi-schema += args-array-empty.qapi +qapi-schema += args-array-unknown.qapi +qapi-schema += args-bad-boxed.qapi +qapi-schema += args-boxed-anon.qapi +qapi-schema += args-boxed-empty.qapi +qapi-schema += args-boxed-string.qapi +qapi-schema += args-int.qapi +qapi-schema += args-invalid.qapi +qapi-schema += args-member-array-bad.qapi +qapi-schema += args-member-case.qapi +qapi-schema += args-member-unknown.qapi +qapi-schema += args-name-clash.qapi +qapi-schema += args-union.qapi +qapi-schema += args-unknown.qapi +qapi-schema += bad-base.qapi +qapi-schema += bad-data.qapi +qapi-schema += bad-ident.qapi +qapi-schema += bad-type-bool.qapi +qapi-schema += bad-type-dict.qapi +qapi-schema += bad-type-int.qapi +qapi-schema += base-cycle-direct.qapi +qapi-schema += base-cycle-indirect.qapi +qapi-schema += command-int.qapi +qapi-schema += comments.qapi +qapi-schema += doc-bad-alternate-member.qapi +qapi-schema += doc-bad-command-arg.qapi +qapi-schema += doc-bad-section.qapi +qapi-schema += doc-bad-symbol.qapi +qapi-schema += doc-bad-union-member.qapi +qapi-schema += doc-before-include.qapi +qapi-schema += doc-before-pragma.qapi +qapi-schema += doc-duplicated-arg.qapi +qapi-schema += doc-duplicated-return.qapi +qapi-schema += doc-duplicated-since.qapi +qapi-schema += doc-empty-arg.qapi +qapi-schema += doc-empty-section.qapi +qapi-schema += doc-empty-symbol.qapi +qapi-schema += doc-good.qapi +qapi-schema += doc-interleaved-section.qapi +qapi-schema += doc-invalid-end.qapi +qapi-schema += doc-invalid-end2.qapi +qapi-schema += doc-invalid-return.qapi +qapi-schema += doc-invalid-section.qapi +qapi-schema += doc-invalid-start.qapi +qapi-schema += doc-missing-colon.qapi +qapi-schema += doc-missing-expr.qapi +qapi-schema += doc-missing-space.qapi +qapi-schema += doc-missing.qapi +qapi-schema += doc-no-symbol.qapi +qapi-schema += double-data.qapi +qapi-schema += double-type.qapi +qapi-schema += duplicate-key.qapi +qapi-schema += empty.qapi +qapi-schema += enum-bad-name.qapi +qapi-schema += enum-bad-prefix.qapi +qapi-schema += enum-clash-member.qapi +qapi-schema += enum-dict-member.qapi +qapi-schema += enum-int-member.qapi +qapi-schema += enum-member-case.qapi +qapi-schema += enum-missing-data.qapi +qapi-schema += enum-wrong-data.qapi +qapi-schema += escape-outside-string.qapi +qapi-schema += escape-too-big.qapi +qapi-schema += escape-too-short.qapi +qapi-schema += event-boxed-empty.qapi +qapi-schema += event-case.qapi +qapi-schema += event-nest-struct.qapi +qapi-schema += flat-union-array-branch.qapi +qapi-schema += flat-union-bad-base.qapi +qapi-schema += flat-union-bad-discriminator.qapi +qapi-schema += flat-union-base-any.qapi +qapi-schema += flat-union-base-union.qapi +qapi-schema += flat-union-clash-member.qapi +qapi-schema += flat-union-empty.qapi +qapi-schema += flat-union-incomplete-branch.qapi +qapi-schema += flat-union-inline.qapi +qapi-schema += flat-union-int-branch.qapi +qapi-schema += flat-union-invalid-branch-key.qapi +qapi-schema += flat-union-invalid-discriminator.qapi +qapi-schema += flat-union-no-base.qapi +qapi-schema += flat-union-optional-discriminator.qapi +qapi-schema += flat-union-string-discriminator.qapi +qapi-schema += funny-char.qapi +qapi-schema += ident-with-escape.qapi +qapi-schema += include-before-err.qapi +qapi-schema += include-cycle.qapi +qapi-schema += include-extra-junk.qapi +qapi-schema += include-format-err.qapi +qapi-schema += include-nested-err.qapi +qapi-schema += include-no-file.qapi +qapi-schema += include-non-file.qapi +qapi-schema += include-relpath.qapi +qapi-schema += include-repetition.qapi +qapi-schema += include-self-cycle.qapi +qapi-schema += include-simple.qapi +qapi-schema += indented-expr.qapi +qapi-schema += leading-comma-list.qapi +qapi-schema += leading-comma-object.qapi +qapi-schema += missing-colon.qapi +qapi-schema += missing-comma-list.qapi +qapi-schema += missing-comma-object.qapi +qapi-schema += missing-type.qapi +qapi-schema += nested-struct-data.qapi +qapi-schema += non-objects.qapi +qapi-schema += oob-test.qapi +qapi-schema += pragma-doc-required-crap.qapi +qapi-schema += pragma-extra-junk.qapi +qapi-schema += pragma-name-case-whitelist-crap.qapi +qapi-schema += pragma-non-dict.qapi +qapi-schema += pragma-returns-whitelist-crap.qapi +qapi-schema += qapi-schema-test.qapi +qapi-schema += quoted-structural-chars.qapi +qapi-schema += redefined-builtin.qapi +qapi-schema += redefined-command.qapi +qapi-schema += redefined-event.qapi +qapi-schema += redefined-type.qapi +qapi-schema += reserved-command-q.qapi +qapi-schema += reserved-enum-q.qapi +qapi-schema += reserved-member-has.qapi +qapi-schema += reserved-member-q.qapi +qapi-schema += reserved-member-u.qapi +qapi-schema += reserved-member-underscore.qapi +qapi-schema += reserved-type-kind.qapi +qapi-schema += reserved-type-list.qapi +qapi-schema += returns-alternate.qapi +qapi-schema += returns-array-bad.qapi +qapi-schema += returns-dict.qapi +qapi-schema += returns-unknown.qapi +qapi-schema += returns-whitelist.qapi +qapi-schema += struct-base-clash-deep.qapi +qapi-schema += struct-base-clash.qapi +qapi-schema += struct-data-invalid.qapi +qapi-schema += struct-member-invalid.qapi +qapi-schema += trailing-comma-list.qapi +qapi-schema += trailing-comma-object.qapi +qapi-schema += type-bypass-bad-gen.qapi +qapi-schema += unclosed-list.qapi +qapi-schema += unclosed-object.qapi +qapi-schema += unclosed-string.qapi +qapi-schema += unicode-str.qapi +qapi-schema += union-base-empty.qapi +qapi-schema += union-base-no-discriminator.qapi +qapi-schema += union-branch-case.qapi +qapi-schema += union-clash-branches.qapi +qapi-schema += union-empty.qapi +qapi-schema += union-invalid-base.qapi +qapi-schema += union-optional-branch.qapi +qapi-schema += union-unknown.qapi +qapi-schema += unknown-escape.qapi +qapi-schema += unknown-expr-key.qapi check-qapi-schema-y := $(addprefix tests/qapi-schema/, $(qapi-schema))@@ -669,13 +669,13 @@ tests/test-qapi-commands.h tests/test-qapi-commands.c \ tests/test-qapi-events.c tests/test-qapi-events.h \ tests/test-qapi-introspect.c tests/test-qapi-introspect.h: \ tests/test-qapi-gen-timestamp ; -tests/test-qapi-gen-timestamp: $(SRC_PATH)/tests/qapi-schema/qapi-schema-test.json $(qapi-py) +tests/test-qapi-gen-timestamp: $(SRC_PATH)/tests/qapi-schema/qapi-schema-test.qapi $(qapi-py) $(call quiet-command,$(PYTHON_UTF8) $(SRC_PATH)/scripts/qapi-gen.py \ -o tests -p "test-" $<, \ "GEN","$(@:%-timestamp=%)") @>$@ -tests/qapi-schema/doc-good.test.texi: $(SRC_PATH)/tests/qapi-schema/doc-good.json $(qapi-py) +tests/qapi-schema/doc-good.test.texi: $(SRC_PATH)/tests/qapi-schema/doc-good.qapi $(qapi-py) $(call quiet-command,$(PYTHON_UTF8) $(SRC_PATH)/scripts/qapi-gen.py \ -o tests/qapi-schema -p "doc-good-" $<, \ "GEN","$@")@@ -926,7 +926,7 @@ check-tests/qemu-iotests-quick.sh: tests/qemu-iotests-quick.sh qemu-img$(EXESUF) $< .PHONY: $(patsubst %, check-%, $(check-qapi-schema-y)) -$(patsubst %, check-%, $(check-qapi-schema-y)): check-%.json: $(SRC_PATH)/%.json +$(patsubst %, check-%, $(check-qapi-schema-y)): check-%.qapi: $(SRC_PATH)/%.qapi $(call quiet-command, PYTHONPATH=$(SRC_PATH)/scripts \ $(PYTHON_UTF8) $(SRC_PATH)/tests/qapi-schema/test-qapi.py \ $^ >$*.test.out 2>$*.test.err; \tests/qapi-schema/alternate-any.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-any.json:2: Alternate 'Alt' member 'one' cannot use type 'any' +tests/qapi-schema/alternate-any.qapi:2: Alternate 'Alt' member 'one' cannot use type 'any'tests/qapi-schema/alternate-any.qapi renamed from tests/qapi-schema/alternate-any.json +0
-0tests/qapi-schema/alternate-array.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-array.json:5: Member 'two' of alternate 'Alt' cannot be an array +tests/qapi-schema/alternate-array.qapi:5: Member 'two' of alternate 'Alt' cannot be an arraytests/qapi-schema/alternate-array.qapi renamed from tests/qapi-schema/alternate-array.json +0
-0tests/qapi-schema/alternate-base.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-base.json:4: Unknown key 'base' in alternate 'Alt' +tests/qapi-schema/alternate-base.qapi:4: Unknown key 'base' in alternate 'Alt'tests/qapi-schema/alternate-base.qapi renamed from tests/qapi-schema/alternate-base.json +0
-0tests/qapi-schema/alternate-clash.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-clash.json:7: 'a_b' (branch of Alt1) collides with 'a-b' (branch of Alt1) +tests/qapi-schema/alternate-clash.qapi:7: 'a_b' (branch of Alt1) collides with 'a-b' (branch of Alt1)tests/qapi-schema/alternate-clash.qapi renamed from tests/qapi-schema/alternate-clash.json +0
-0tests/qapi-schema/alternate-conflict-bool-string.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-bool-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-bool-string.qapi:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'tests/qapi-schema/alternate-conflict-bool-string.qapi renamed from tests/qapi-schema/alternate-conflict-bool-string.json +0
-0tests/qapi-schema/alternate-conflict-dict.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-dict.json:6: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-dict.qapi:6: Alternate 'Alt' member 'two' can't be distinguished from member 'one'tests/qapi-schema/alternate-conflict-dict.qapi renamed from tests/qapi-schema/alternate-conflict-dict.json +0
-0tests/qapi-schema/alternate-conflict-enum-bool.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-enum-bool.json:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-enum-bool.qapi:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one'tests/qapi-schema/alternate-conflict-enum-bool.qapi renamed from tests/qapi-schema/alternate-conflict-enum-bool.json +0
-0tests/qapi-schema/alternate-conflict-enum-int.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-enum-int.json:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-enum-int.qapi:4: Alternate 'Alt' member 'two' can't be distinguished from member 'one'tests/qapi-schema/alternate-conflict-enum-int.qapi renamed from tests/qapi-schema/alternate-conflict-enum-int.json +0
-0tests/qapi-schema/alternate-conflict-num-string.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-num-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-num-string.qapi:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'tests/qapi-schema/alternate-conflict-num-string.qapi renamed from tests/qapi-schema/alternate-conflict-num-string.json +0
-0tests/qapi-schema/alternate-conflict-string.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-conflict-string.json:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one' +tests/qapi-schema/alternate-conflict-string.qapi:2: Alternate 'Alt' member 'two' can't be distinguished from member 'one'tests/qapi-schema/alternate-conflict-string.qapi renamed from tests/qapi-schema/alternate-conflict-string.json +0
-0tests/qapi-schema/alternate-empty.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-empty.json:2: Alternate 'Alt' should have at least two branches in 'data' +tests/qapi-schema/alternate-empty.qapi:2: Alternate 'Alt' should have at least two branches in 'data'tests/qapi-schema/alternate-empty.qapi renamed from tests/qapi-schema/alternate-empty.json +0
-0tests/qapi-schema/alternate-nested.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-nested.json:4: Member 'nested' of alternate 'Alt2' cannot use alternate type 'Alt1' +tests/qapi-schema/alternate-nested.qapi:4: Member 'nested' of alternate 'Alt2' cannot use alternate type 'Alt1'tests/qapi-schema/alternate-nested.qapi renamed from tests/qapi-schema/alternate-nested.json +0
-0tests/qapi-schema/alternate-unknown.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/alternate-unknown.json:2: Member 'unknown' of alternate 'Alt' uses unknown type 'MissingType' +tests/qapi-schema/alternate-unknown.qapi:2: Member 'unknown' of alternate 'Alt' uses unknown type 'MissingType'tests/qapi-schema/alternate-unknown.qapi renamed from tests/qapi-schema/alternate-unknown.json +0
-0tests/qapi-schema/args-alternate.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-alternate.json:3: 'data' for command 'oops' cannot use alternate type 'Alt' +tests/qapi-schema/args-alternate.qapi:3: 'data' for command 'oops' cannot use alternate type 'Alt'tests/qapi-schema/args-alternate.qapi renamed from tests/qapi-schema/args-alternate.json +0
-0tests/qapi-schema/args-any.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-any.json:2: 'data' for command 'oops' cannot use built-in type 'any' +tests/qapi-schema/args-any.qapi:2: 'data' for command 'oops' cannot use built-in type 'any'tests/qapi-schema/args-any.qapi renamed from tests/qapi-schema/args-any.json +0
-0tests/qapi-schema/args-array-empty.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-array-empty.json:2: Member 'empty' of 'data' for command 'oops': array type must contain single type name +tests/qapi-schema/args-array-empty.qapi:2: Member 'empty' of 'data' for command 'oops': array type must contain single type nametests/qapi-schema/args-array-empty.qapi renamed from tests/qapi-schema/args-array-empty.json +0
-0tests/qapi-schema/args-array-unknown.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-array-unknown.json:2: Member 'array' of 'data' for command 'oops' uses unknown type 'NoSuchType' +tests/qapi-schema/args-array-unknown.qapi:2: Member 'array' of 'data' for command 'oops' uses unknown type 'NoSuchType'tests/qapi-schema/args-array-unknown.qapi renamed from tests/qapi-schema/args-array-unknown.json +0
-0tests/qapi-schema/args-bad-boxed.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-bad-boxed.json:2: 'boxed' of command 'foo' should only use true value +tests/qapi-schema/args-bad-boxed.qapi:2: 'boxed' of command 'foo' should only use true valuetests/qapi-schema/args-bad-boxed.qapi renamed from tests/qapi-schema/args-bad-boxed.json +0
-0tests/qapi-schema/args-boxed-anon.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-boxed-anon.json:2: 'data' for command 'foo' should be a type name +tests/qapi-schema/args-boxed-anon.qapi:2: 'data' for command 'foo' should be a type nametests/qapi-schema/args-boxed-anon.qapi renamed from tests/qapi-schema/args-boxed-anon.json +0
-0tests/qapi-schema/args-boxed-empty.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-boxed-empty.json:3: Cannot use 'boxed' with empty type +tests/qapi-schema/args-boxed-empty.qapi:3: Cannot use 'boxed' with empty typetests/qapi-schema/args-boxed-empty.qapi renamed from tests/qapi-schema/args-boxed-empty.json +0
-0tests/qapi-schema/args-boxed-string.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-boxed-string.json:2: 'data' for command 'foo' cannot use built-in type 'str' +tests/qapi-schema/args-boxed-string.qapi:2: 'data' for command 'foo' cannot use built-in type 'str'tests/qapi-schema/args-boxed-string.qapi renamed from tests/qapi-schema/args-boxed-string.json +0
-0tests/qapi-schema/args-int.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-int.json:2: 'data' for command 'oops' cannot use built-in type 'int' +tests/qapi-schema/args-int.qapi:2: 'data' for command 'oops' cannot use built-in type 'int'tests/qapi-schema/args-int.qapi renamed from tests/qapi-schema/args-int.json +0
-0tests/qapi-schema/args-invalid.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-invalid.json:1: 'data' for command 'foo' should be a dictionary or type name +tests/qapi-schema/args-invalid.qapi:1: 'data' for command 'foo' should be a dictionary or type nametests/qapi-schema/args-invalid.qapi renamed from tests/qapi-schema/args-invalid.json +0
-0tests/qapi-schema/args-member-array-bad.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-member-array-bad.json:2: Member 'member' of 'data' for command 'oops': array type must contain single type name +tests/qapi-schema/args-member-array-bad.qapi:2: Member 'member' of 'data' for command 'oops': array type must contain single type nametests/qapi-schema/args-member-array-bad.qapi renamed from tests/qapi-schema/args-member-array-bad.json +0
-0tests/qapi-schema/args-member-case.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-member-case.json:2: 'Arg' (parameter of no-way-this-will-get-whitelisted) should not use uppercase +tests/qapi-schema/args-member-case.qapi:2: 'Arg' (parameter of no-way-this-will-get-whitelisted) should not use uppercasetests/qapi-schema/args-member-case.qapi renamed from tests/qapi-schema/args-member-case.json +0
-0tests/qapi-schema/args-member-unknown.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-member-unknown.json:2: Member 'member' of 'data' for command 'oops' uses unknown type 'NoSuchType' +tests/qapi-schema/args-member-unknown.qapi:2: Member 'member' of 'data' for command 'oops' uses unknown type 'NoSuchType'tests/qapi-schema/args-member-unknown.qapi renamed from tests/qapi-schema/args-member-unknown.json +0
-0tests/qapi-schema/args-name-clash.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-name-clash.json:4: 'a_b' (parameter of oops) collides with 'a-b' (parameter of oops) +tests/qapi-schema/args-name-clash.qapi:4: 'a_b' (parameter of oops) collides with 'a-b' (parameter of oops)tests/qapi-schema/args-name-clash.qapi renamed from tests/qapi-schema/args-name-clash.json +0
-0tests/qapi-schema/args-union.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-union.json:3: 'data' for command 'oops' cannot use union type 'Uni' +tests/qapi-schema/args-union.qapi:3: 'data' for command 'oops' cannot use union type 'Uni'tests/qapi-schema/args-union.qapi renamed from tests/qapi-schema/args-union.json +0
-0tests/qapi-schema/args-unknown.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/args-unknown.json:2: 'data' for command 'oops' uses unknown type 'NoSuchType' +tests/qapi-schema/args-unknown.qapi:2: 'data' for command 'oops' uses unknown type 'NoSuchType'tests/qapi-schema/args-unknown.qapi renamed from tests/qapi-schema/args-unknown.json +0
-0tests/qapi-schema/bad-base.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/bad-base.json:3: 'base' for struct 'MyType' cannot use union type 'Union' +tests/qapi-schema/bad-base.qapi:3: 'base' for struct 'MyType' cannot use union type 'Union'tests/qapi-schema/bad-base.qapi renamed from tests/qapi-schema/bad-base.json +0
-0tests/qapi-schema/bad-data.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/bad-data.json:2: 'data' for command 'oops' cannot be an array +tests/qapi-schema/bad-data.qapi:2: 'data' for command 'oops' cannot be an arraytests/qapi-schema/bad-data.qapi renamed from tests/qapi-schema/bad-data.json +0
-0tests/qapi-schema/bad-ident.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/bad-ident.json:2: 'struct' does not allow optional name '*oops' +tests/qapi-schema/bad-ident.qapi:2: 'struct' does not allow optional name '*oops'tests/qapi-schema/bad-ident.qapi renamed from tests/qapi-schema/bad-ident.json +0
-0tests/qapi-schema/bad-type-bool.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/bad-type-bool.json:2: 'struct' key must have a string value +tests/qapi-schema/bad-type-bool.qapi:2: 'struct' key must have a string valuetests/qapi-schema/bad-type-bool.qapi renamed from tests/qapi-schema/bad-type-bool.json +0
-0tests/qapi-schema/bad-type-dict.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/bad-type-dict.json:2: 'command' key must have a string value +tests/qapi-schema/bad-type-dict.qapi:2: 'command' key must have a string valuetests/qapi-schema/bad-type-dict.qapi renamed from tests/qapi-schema/bad-type-dict.json +0
-0tests/qapi-schema/bad-type-int.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/bad-type-int.json:3:13: Stray "1" +tests/qapi-schema/bad-type-int.qapi:3:13: Stray "1"tests/qapi-schema/bad-type-int.qapi renamed from tests/qapi-schema/bad-type-int.json +0
-0tests/qapi-schema/base-cycle-direct.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/base-cycle-direct.json:2: Object Loopy contains itself +tests/qapi-schema/base-cycle-direct.qapi:2: Object Loopy contains itselftests/qapi-schema/base-cycle-direct.qapi renamed from tests/qapi-schema/base-cycle-direct.json +0
-0tests/qapi-schema/base-cycle-indirect.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/base-cycle-indirect.json:2: Object Base1 contains itself +tests/qapi-schema/base-cycle-indirect.qapi:2: Object Base1 contains itselftests/qapi-schema/base-cycle-indirect.qapi renamed from tests/qapi-schema/base-cycle-indirect.json +0
-0tests/qapi-schema/command-int.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/command-int.json:2: built-in 'int' is already defined +tests/qapi-schema/command-int.qapi:2: built-in 'int' is already definedtests/qapi-schema/command-int.qapi renamed from tests/qapi-schema/command-int.json +0
-0tests/qapi-schema/comments.out +1
-1@@ -1,5 +1,5 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module comments.json +module comments.qapi enum Status ['good', 'bad', 'ugly']tests/qapi-schema/comments.qapi renamed from tests/qapi-schema/comments.json +0
-0tests/qapi-schema/doc-bad-alternate-member.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-bad-alternate-member.json:3: The following documented members are not in the declaration: aa, bb +tests/qapi-schema/doc-bad-alternate-member.qapi:3: The following documented members are not in the declaration: aa, bbtests/qapi-schema/doc-bad-alternate-member.qapi renamed from tests/qapi-schema/doc-bad-alternate-member.json +0
-0tests/qapi-schema/doc-bad-command-arg.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-bad-command-arg.json:3: The following documented members are not in the declaration: b +tests/qapi-schema/doc-bad-command-arg.qapi:3: The following documented members are not in the declaration: btests/qapi-schema/doc-bad-command-arg.qapi renamed from tests/qapi-schema/doc-bad-command-arg.json +0
-0tests/qapi-schema/doc-bad-section.out +1
-1@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module doc-bad-section.json +module doc-bad-section.qapi enum Enum ['one', 'two'] doc symbol=Enum body=tests/qapi-schema/doc-bad-section.qapi renamed from tests/qapi-schema/doc-bad-section.json +0
-0tests/qapi-schema/doc-bad-symbol.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-bad-symbol.json:6: Definition of 'foo' follows documentation for 'food' +tests/qapi-schema/doc-bad-symbol.qapi:6: Definition of 'foo' follows documentation for 'food'tests/qapi-schema/doc-bad-symbol.qapi renamed from tests/qapi-schema/doc-bad-symbol.json +0
-0tests/qapi-schema/doc-bad-union-member.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-bad-union-member.json:3: The following documented members are not in the declaration: a, b +tests/qapi-schema/doc-bad-union-member.qapi:3: The following documented members are not in the declaration: a, btests/qapi-schema/doc-bad-union-member.qapi renamed from tests/qapi-schema/doc-bad-union-member.json +0
-0tests/qapi-schema/doc-before-include.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-before-include.json:3: Documentation for 'foo' is not followed by the definition +tests/qapi-schema/doc-before-include.qapi:3: Documentation for 'foo' is not followed by the definitiontests/qapi-schema/doc-before-include.qapi renamed from tests/qapi-schema/doc-before-include.json +1
-1@@ -3,5 +3,5 @@ ## # @foo: ## -{ 'include': 'empty.json' } +{ 'include': 'empty.qapi' } { 'struct': 'foo', 'data': {} }tests/qapi-schema/doc-before-pragma.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-before-pragma.json:3: Documentation for 'foo' is not followed by the definition +tests/qapi-schema/doc-before-pragma.qapi:3: Documentation for 'foo' is not followed by the definitiontests/qapi-schema/doc-before-pragma.qapi renamed from tests/qapi-schema/doc-before-pragma.json +0
-0tests/qapi-schema/doc-duplicated-arg.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-duplicated-arg.json:6:1: 'a' parameter name duplicated +tests/qapi-schema/doc-duplicated-arg.qapi:6:1: 'a' parameter name duplicatedtests/qapi-schema/doc-duplicated-arg.qapi renamed from tests/qapi-schema/doc-duplicated-arg.json +0
-0tests/qapi-schema/doc-duplicated-return.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-duplicated-return.json:7:1: Duplicated 'Returns' section +tests/qapi-schema/doc-duplicated-return.qapi:7:1: Duplicated 'Returns' sectiontests/qapi-schema/doc-duplicated-return.qapi renamed from tests/qapi-schema/doc-duplicated-return.json +0
-0tests/qapi-schema/doc-duplicated-since.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-duplicated-since.json:7:1: Duplicated 'Since' section +tests/qapi-schema/doc-duplicated-since.qapi:7:1: Duplicated 'Since' sectiontests/qapi-schema/doc-duplicated-since.qapi renamed from tests/qapi-schema/doc-duplicated-since.json +0
-0tests/qapi-schema/doc-empty-arg.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-empty-arg.json:5:1: Invalid parameter name +tests/qapi-schema/doc-empty-arg.qapi:5:1: Invalid parameter nametests/qapi-schema/doc-empty-arg.qapi renamed from tests/qapi-schema/doc-empty-arg.json +0
-0tests/qapi-schema/doc-empty-section.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-empty-section.json:7:1: Empty doc section 'Note' +tests/qapi-schema/doc-empty-section.qapi:7:1: Empty doc section 'Note'tests/qapi-schema/doc-empty-section.qapi renamed from tests/qapi-schema/doc-empty-section.json +0
-0tests/qapi-schema/doc-empty-symbol.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-empty-symbol.json:4:1: Invalid name +tests/qapi-schema/doc-empty-symbol.qapi:4:1: Invalid nametests/qapi-schema/doc-empty-symbol.qapi renamed from tests/qapi-schema/doc-empty-symbol.json +0
-0tests/qapi-schema/doc-good.out +1
-1@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module doc-good.json +module doc-good.qapi enum Enum ['one', 'two'] object Base member base1: Enum optional=Falsetests/qapi-schema/doc-good.qapi renamed from tests/qapi-schema/doc-good.json +0
-0tests/qapi-schema/doc-interleaved-section.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-interleaved-section.json:15:1: '@foobar:' can't follow 'Note' section +tests/qapi-schema/doc-interleaved-section.qapi:15:1: '@foobar:' can't follow 'Note' sectiontests/qapi-schema/doc-interleaved-section.qapi renamed from tests/qapi-schema/doc-interleaved-section.json +0
-0tests/qapi-schema/doc-invalid-end.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-end.json:5:2: Documentation comment must end with '##' +tests/qapi-schema/doc-invalid-end.qapi:5:2: Documentation comment must end with '##'tests/qapi-schema/doc-invalid-end.qapi renamed from tests/qapi-schema/doc-invalid-end.json +0
-0tests/qapi-schema/doc-invalid-end2.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-end2.json:5:1: Junk after '##' at end of documentation comment +tests/qapi-schema/doc-invalid-end2.qapi:5:1: Junk after '##' at end of documentation commenttests/qapi-schema/doc-invalid-end2.qapi renamed from tests/qapi-schema/doc-invalid-end2.json +0
-0tests/qapi-schema/doc-invalid-return.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-return.json:3: 'Returns:' is only valid for commands +tests/qapi-schema/doc-invalid-return.qapi:3: 'Returns:' is only valid for commandstests/qapi-schema/doc-invalid-return.qapi renamed from tests/qapi-schema/doc-invalid-return.json +0
-0tests/qapi-schema/doc-invalid-section.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-section.json:5:1: '@note:' not allowed in free-form documentation +tests/qapi-schema/doc-invalid-section.qapi:5:1: '@note:' not allowed in free-form documentationtests/qapi-schema/doc-invalid-section.qapi renamed from tests/qapi-schema/doc-invalid-section.json +0
-0tests/qapi-schema/doc-invalid-start.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-invalid-start.json:3:1: Junk after '##' at start of documentation comment +tests/qapi-schema/doc-invalid-start.qapi:3:1: Junk after '##' at start of documentation commenttests/qapi-schema/doc-invalid-start.qapi renamed from tests/qapi-schema/doc-invalid-start.json +0
-0tests/qapi-schema/doc-missing-colon.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-missing-colon.json:4:1: Line should end with : +tests/qapi-schema/doc-missing-colon.qapi:4:1: Line should end with :tests/qapi-schema/doc-missing-colon.qapi renamed from tests/qapi-schema/doc-missing-colon.json +0
-0tests/qapi-schema/doc-missing-expr.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-missing-expr.json:3: Documentation for 'bar' is not followed by the definition +tests/qapi-schema/doc-missing-expr.qapi:3: Documentation for 'bar' is not followed by the definitiontests/qapi-schema/doc-missing-expr.qapi renamed from tests/qapi-schema/doc-missing-expr.json +0
-0tests/qapi-schema/doc-missing-space.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-missing-space.json:5:1: Missing space after # +tests/qapi-schema/doc-missing-space.qapi:5:1: Missing space after #tests/qapi-schema/doc-missing-space.qapi renamed from tests/qapi-schema/doc-missing-space.json +0
-0tests/qapi-schema/doc-missing.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-missing.json:5: Expression missing documentation comment +tests/qapi-schema/doc-missing.qapi:5: Expression missing documentation commenttests/qapi-schema/doc-missing.qapi renamed from tests/qapi-schema/doc-missing.json +0
-0tests/qapi-schema/doc-no-symbol.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/doc-no-symbol.json:3: Expression documentation required +tests/qapi-schema/doc-no-symbol.qapi:3: Expression documentation requiredtests/qapi-schema/doc-no-symbol.qapi renamed from tests/qapi-schema/doc-no-symbol.json +0
-0tests/qapi-schema/double-data.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/double-data.json:2:41: Duplicate key "data" +tests/qapi-schema/double-data.qapi:2:41: Duplicate key "data"tests/qapi-schema/double-data.qapi renamed from tests/qapi-schema/double-data.json +0
-0tests/qapi-schema/double-type.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/double-type.json:2: Unknown key 'command' in struct 'bar' +tests/qapi-schema/double-type.qapi:2: Unknown key 'command' in struct 'bar'tests/qapi-schema/double-type.qapi renamed from tests/qapi-schema/double-type.json +0
-0tests/qapi-schema/duplicate-key.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/duplicate-key.json:3:10: Duplicate key "key" +tests/qapi-schema/duplicate-key.qapi:3:10: Duplicate key "key"tests/qapi-schema/duplicate-key.qapi renamed from tests/qapi-schema/duplicate-key.json +0
-0tests/qapi-schema/empty.qapi renamed from tests/qapi-schema/empty.json +0
-0tests/qapi-schema/enum-bad-name.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/enum-bad-name.json:2: Member of enum 'MyEnum' uses invalid name 'not^possible' +tests/qapi-schema/enum-bad-name.qapi:2: Member of enum 'MyEnum' uses invalid name 'not^possible'tests/qapi-schema/enum-bad-name.qapi renamed from tests/qapi-schema/enum-bad-name.json +0
-0tests/qapi-schema/enum-bad-prefix.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/enum-bad-prefix.json:2: Enum 'MyEnum' requires a string for 'prefix' +tests/qapi-schema/enum-bad-prefix.qapi:2: Enum 'MyEnum' requires a string for 'prefix'tests/qapi-schema/enum-bad-prefix.qapi renamed from tests/qapi-schema/enum-bad-prefix.json +0
-0tests/qapi-schema/enum-clash-member.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/enum-clash-member.json:2: 'one_two' (member of MyEnum) collides with 'one-two' (member of MyEnum) +tests/qapi-schema/enum-clash-member.qapi:2: 'one_two' (member of MyEnum) collides with 'one-two' (member of MyEnum)tests/qapi-schema/enum-clash-member.qapi renamed from tests/qapi-schema/enum-clash-member.json +0
-0tests/qapi-schema/enum-dict-member.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/enum-dict-member.json:2: Member of enum 'MyEnum' requires a string name +tests/qapi-schema/enum-dict-member.qapi:2: Member of enum 'MyEnum' requires a string nametests/qapi-schema/enum-dict-member.qapi renamed from tests/qapi-schema/enum-dict-member.json +0
-0tests/qapi-schema/enum-int-member.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/enum-int-member.json:3:31: Stray "1" +tests/qapi-schema/enum-int-member.qapi:3:31: Stray "1"tests/qapi-schema/enum-int-member.qapi renamed from tests/qapi-schema/enum-int-member.json +0
-0tests/qapi-schema/enum-member-case.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/enum-member-case.json:4: 'Value' (member of NoWayThisWillGetWhitelisted) should not use uppercase +tests/qapi-schema/enum-member-case.qapi:4: 'Value' (member of NoWayThisWillGetWhitelisted) should not use uppercasetests/qapi-schema/enum-member-case.qapi renamed from tests/qapi-schema/enum-member-case.json +0
-0tests/qapi-schema/enum-missing-data.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/enum-missing-data.json:2: Key 'data' is missing from enum 'MyEnum' +tests/qapi-schema/enum-missing-data.qapi:2: Key 'data' is missing from enum 'MyEnum'tests/qapi-schema/enum-missing-data.qapi renamed from tests/qapi-schema/enum-missing-data.json +0
-0tests/qapi-schema/enum-wrong-data.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/enum-wrong-data.json:2: Enum 'MyEnum' requires an array for 'data' +tests/qapi-schema/enum-wrong-data.qapi:2: Enum 'MyEnum' requires an array for 'data'tests/qapi-schema/enum-wrong-data.qapi renamed from tests/qapi-schema/enum-wrong-data.json +0
-0tests/qapi-schema/escape-outside-string.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/escape-outside-string.json:3:27: Stray "\" +tests/qapi-schema/escape-outside-string.qapi:3:27: Stray "\"tests/qapi-schema/escape-outside-string.qapi renamed from tests/qapi-schema/escape-outside-string.json +0
-0tests/qapi-schema/escape-too-big.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/escape-too-big.json:3:14: For now, \u escape only supports non-zero values up to \u007f +tests/qapi-schema/escape-too-big.qapi:3:14: For now, \u escape only supports non-zero values up to \u007ftests/qapi-schema/escape-too-big.qapi renamed from tests/qapi-schema/escape-too-big.json +0
-0tests/qapi-schema/escape-too-short.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/escape-too-short.json:3:14: \u escape needs 4 hex digits +tests/qapi-schema/escape-too-short.qapi:3:14: \u escape needs 4 hex digitstests/qapi-schema/escape-too-short.qapi renamed from tests/qapi-schema/escape-too-short.json +0
-0tests/qapi-schema/event-boxed-empty.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/event-boxed-empty.json:2: Use of 'boxed' requires 'data' +tests/qapi-schema/event-boxed-empty.qapi:2: Use of 'boxed' requires 'data'tests/qapi-schema/event-boxed-empty.qapi renamed from tests/qapi-schema/event-boxed-empty.json +0
-0tests/qapi-schema/event-case.out +1
-1@@ -1,6 +1,6 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module event-case.json +module event-case.qapi event oops None boxed=Falsetests/qapi-schema/event-case.qapi renamed from tests/qapi-schema/event-case.json +0
-0tests/qapi-schema/event-nest-struct.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/event-nest-struct.json:1: Member 'a' of 'data' for event 'EVENT_A' should be a type name +tests/qapi-schema/event-nest-struct.qapi:1: Member 'a' of 'data' for event 'EVENT_A' should be a type nametests/qapi-schema/event-nest-struct.qapi renamed from tests/qapi-schema/event-nest-struct.json +0
-0tests/qapi-schema/flat-union-array-branch.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-array-branch.json:8: Member 'value1' of union 'TestUnion' cannot be an array +tests/qapi-schema/flat-union-array-branch.qapi:8: Member 'value1' of union 'TestUnion' cannot be an arraytests/qapi-schema/flat-union-array-branch.qapi renamed from tests/qapi-schema/flat-union-array-branch.json +0
-0tests/qapi-schema/flat-union-bad-base.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-bad-base.json:8: 'string' (member of TestTypeA) collides with 'string' (base of TestUnion) +tests/qapi-schema/flat-union-bad-base.qapi:8: 'string' (member of TestTypeA) collides with 'string' (base of TestUnion)tests/qapi-schema/flat-union-bad-base.qapi renamed from tests/qapi-schema/flat-union-bad-base.json +0
-0tests/qapi-schema/flat-union-bad-discriminator.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-bad-discriminator.json:11: Discriminator of flat union 'TestUnion' requires a string name +tests/qapi-schema/flat-union-bad-discriminator.qapi:11: Discriminator of flat union 'TestUnion' requires a string nametests/qapi-schema/flat-union-bad-discriminator.qapi renamed from tests/qapi-schema/flat-union-bad-discriminator.json +0
-0tests/qapi-schema/flat-union-base-any.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-base-any.json:8: 'base' for union 'TestUnion' cannot use built-in type 'any' +tests/qapi-schema/flat-union-base-any.qapi:8: 'base' for union 'TestUnion' cannot use built-in type 'any'tests/qapi-schema/flat-union-base-any.qapi renamed from tests/qapi-schema/flat-union-base-any.json +0
-0tests/qapi-schema/flat-union-base-union.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-base-union.json:14: 'base' for union 'TestUnion' cannot use union type 'UnionBase' +tests/qapi-schema/flat-union-base-union.qapi:14: 'base' for union 'TestUnion' cannot use union type 'UnionBase'tests/qapi-schema/flat-union-base-union.qapi renamed from tests/qapi-schema/flat-union-base-union.json +0
-0tests/qapi-schema/flat-union-clash-member.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-clash-member.json:11: 'name' (member of Branch1) collides with 'name' (member of Base) +tests/qapi-schema/flat-union-clash-member.qapi:11: 'name' (member of Branch1) collides with 'name' (member of Base)tests/qapi-schema/flat-union-clash-member.qapi renamed from tests/qapi-schema/flat-union-clash-member.json +0
-0tests/qapi-schema/flat-union-empty.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-empty.json:4: Union 'Union' cannot have empty 'data' +tests/qapi-schema/flat-union-empty.qapi:4: Union 'Union' cannot have empty 'data'tests/qapi-schema/flat-union-empty.qapi renamed from tests/qapi-schema/flat-union-empty.json +0
-0tests/qapi-schema/flat-union-incomplete-branch.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-incomplete-branch.json:6: Union 'TestUnion' data missing 'value2' branch +tests/qapi-schema/flat-union-incomplete-branch.qapi:6: Union 'TestUnion' data missing 'value2' branchtests/qapi-schema/flat-union-incomplete-branch.qapi renamed from tests/qapi-schema/flat-union-incomplete-branch.json +0
-0tests/qapi-schema/flat-union-inline.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-inline.json:7: Member 'value1' of union 'TestUnion' should be a type name +tests/qapi-schema/flat-union-inline.qapi:7: Member 'value1' of union 'TestUnion' should be a type nametests/qapi-schema/flat-union-inline.qapi renamed from tests/qapi-schema/flat-union-inline.json +0
-0tests/qapi-schema/flat-union-int-branch.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-int-branch.json:8: Member 'value1' of union 'TestUnion' cannot use built-in type 'int' +tests/qapi-schema/flat-union-int-branch.qapi:8: Member 'value1' of union 'TestUnion' cannot use built-in type 'int'tests/qapi-schema/flat-union-int-branch.qapi renamed from tests/qapi-schema/flat-union-int-branch.json +0
-0tests/qapi-schema/flat-union-invalid-branch-key.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-invalid-branch-key.json:13: Discriminator value 'value_wrong' is not found in enum 'TestEnum' +tests/qapi-schema/flat-union-invalid-branch-key.qapi:13: Discriminator value 'value_wrong' is not found in enum 'TestEnum'tests/qapi-schema/flat-union-invalid-branch-key.qapi renamed from tests/qapi-schema/flat-union-invalid-branch-key.json +0
-0tests/qapi-schema/flat-union-invalid-discriminator.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-invalid-discriminator.json:13: Discriminator 'enum_wrong' is not a member of base struct 'TestBase' +tests/qapi-schema/flat-union-invalid-discriminator.qapi:13: Discriminator 'enum_wrong' is not a member of base struct 'TestBase'tests/qapi-schema/flat-union-invalid-discriminator.qapi renamed from tests/qapi-schema/flat-union-invalid-discriminator.json +0
-0tests/qapi-schema/flat-union-no-base.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-no-base.json:9: Flat union 'TestUnion' must have a base +tests/qapi-schema/flat-union-no-base.qapi:9: Flat union 'TestUnion' must have a basetests/qapi-schema/flat-union-no-base.qapi renamed from tests/qapi-schema/flat-union-no-base.json +0
-0tests/qapi-schema/flat-union-optional-discriminator.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-optional-discriminator.json:6: Discriminator of flat union 'MyUnion' does not allow optional name '*switch' +tests/qapi-schema/flat-union-optional-discriminator.qapi:6: Discriminator of flat union 'MyUnion' does not allow optional name '*switch'tests/qapi-schema/flat-union-optional-discriminator.qapi renamed from tests/qapi-schema/flat-union-optional-discriminator.json +0
-0tests/qapi-schema/flat-union-string-discriminator.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/flat-union-string-discriminator.json:13: Discriminator 'kind' must be of enumeration type +tests/qapi-schema/flat-union-string-discriminator.qapi:13: Discriminator 'kind' must be of enumeration typetests/qapi-schema/flat-union-string-discriminator.qapi renamed from tests/qapi-schema/flat-union-string-discriminator.json +0
-0tests/qapi-schema/funny-char.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/funny-char.json:2:36: Stray ";" +tests/qapi-schema/funny-char.qapi:2:36: Stray ";"tests/qapi-schema/funny-char.qapi renamed from tests/qapi-schema/funny-char.json +0
-0tests/qapi-schema/ident-with-escape.out +1
-1@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module ident-with-escape.json +module ident-with-escape.qapi object q_obj_fooA-arg member bar1: str optional=False command fooA q_obj_fooA-arg -> Nonetests/qapi-schema/ident-with-escape.qapi renamed from tests/qapi-schema/ident-with-escape.json +0
-0tests/qapi-schema/include-before-err.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/include-before-err.json:2:13: Expected ":" +tests/qapi-schema/include-before-err.qapi:2:13: Expected ":"tests/qapi-schema/include-before-err.json deleted +0
-2@@ -1,2 +0,0 @@ -{ 'include': 'include-simple-sub.json' } -{ 'command' 'missing-colon' }tests/qapi-schema/include-before-err.qapi new file +2
-0@@ -0,0 +1,2 @@ +{ 'include': 'include-simple-sub.qapi' } +{ 'command' 'missing-colon' }tests/qapi-schema/include-cycle-b.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': 'include-cycle-c.json' }tests/qapi-schema/include-cycle-b.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': 'include-cycle-c.qapi' }tests/qapi-schema/include-cycle-c.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': 'include-cycle.json' }tests/qapi-schema/include-cycle-c.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': 'include-cycle.qapi' }tests/qapi-schema/include-cycle.err +3
-3@@ -1,3 +1,3 @@ -In file included from tests/qapi-schema/include-cycle.json:1: -In file included from tests/qapi-schema/include-cycle-b.json:1: -tests/qapi-schema/include-cycle-c.json:1: Inclusion loop for include-cycle.json +In file included from tests/qapi-schema/include-cycle.qapi:1: +In file included from tests/qapi-schema/include-cycle-b.qapi:1: +tests/qapi-schema/include-cycle-c.qapi:1: Inclusion loop for include-cycle.qapitests/qapi-schema/include-cycle.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': 'include-cycle-b.json' }tests/qapi-schema/include-cycle.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': 'include-cycle-b.qapi' }tests/qapi-schema/include-extra-junk.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/include-extra-junk.json:3: Invalid 'include' directive +tests/qapi-schema/include-extra-junk.qapi:3: Invalid 'include' directivetests/qapi-schema/include-extra-junk.json deleted +0
-3@@ -1,3 +0,0 @@ -# 'include' must be the sole member - -{ 'include': 'comments.json', 'junk': true }tests/qapi-schema/include-extra-junk.qapi new file +3
-0@@ -0,0 +1,3 @@ +# 'include' must be the sole member + +{ 'include': 'comments.qapi', 'junk': true }tests/qapi-schema/include-format-err.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/include-format-err.json:1: Invalid 'include' directive +tests/qapi-schema/include-format-err.qapi:1: Invalid 'include' directivetests/qapi-schema/include-format-err.json deleted +0
-2@@ -1,2 +0,0 @@ -{ 'include': 'include-simple-sub.json', - 'foo': 'bar' }tests/qapi-schema/include-format-err.qapi new file +2
-0@@ -0,0 +1,2 @@ +{ 'include': 'include-simple-sub.qapi', + 'foo': 'bar' }tests/qapi-schema/include-nested-err.err +2
-2@@ -1,2 +1,2 @@ -In file included from tests/qapi-schema/include-nested-err.json:1: -tests/qapi-schema/missing-colon.json:1:10: Expected ":" +In file included from tests/qapi-schema/include-nested-err.qapi:1: +tests/qapi-schema/missing-colon.qapi:1:10: Expected ":"tests/qapi-schema/include-nested-err.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': 'missing-colon.json' }tests/qapi-schema/include-nested-err.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': 'missing-colon.qapi' }tests/qapi-schema/include-no-file.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/include-no-file.json:1: No such file or directory: tests/qapi-schema/include-no-file-sub.json +tests/qapi-schema/include-no-file.qapi:1: No such file or directory: tests/qapi-schema/include-no-file-sub.qapitests/qapi-schema/include-no-file.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': 'include-no-file-sub.json' }tests/qapi-schema/include-no-file.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': 'include-no-file-sub.qapi' }tests/qapi-schema/include-non-file.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/include-non-file.json:1: Value of 'include' must be a string +tests/qapi-schema/include-non-file.qapi:1: Value of 'include' must be a stringtests/qapi-schema/include-non-file.qapi renamed from tests/qapi-schema/include-non-file.json +0
-0tests/qapi-schema/include-relpath-sub.qapi renamed from tests/qapi-schema/include-relpath-sub.json +0
-0tests/qapi-schema/include-relpath.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': 'include/relpath.json' }tests/qapi-schema/include-relpath.out +5
-5@@ -1,9 +1,9 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module include-relpath.json -include include/relpath.json -module include/relpath.json -include include-relpath-sub.json -module include-relpath-sub.json +module include-relpath.qapi +include include/relpath.qapi +module include/relpath.qapi +include include-relpath-sub.qapi +module include-relpath-sub.qapi enum Status ['good', 'bad', 'ugly']tests/qapi-schema/include-relpath.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': 'include/relpath.qapi' }tests/qapi-schema/include-repetition-sub.json deleted +0
-2@@ -1,2 +0,0 @@ -{ 'include': 'comments.json' } -{ 'include': 'comments.json' }tests/qapi-schema/include-repetition-sub.qapi new file +2
-0@@ -0,0 +1,2 @@ +{ 'include': 'comments.qapi' } +{ 'include': 'comments.qapi' }tests/qapi-schema/include-repetition.json deleted +0
-3@@ -1,3 +0,0 @@ -{ 'include': 'comments.json' } -{ 'include': 'include-repetition-sub.json' } -{ 'include': 'comments.json' }tests/qapi-schema/include-repetition.out +10
-10@@ -1,14 +1,14 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module include-repetition.json -include comments.json -module comments.json +module include-repetition.qapi +include comments.qapi +module comments.qapi enum Status ['good', 'bad', 'ugly'] -module include-repetition.json -include include-repetition-sub.json -module include-repetition-sub.json -include comments.json -include comments.json -module include-repetition.json -include comments.json +module include-repetition.qapi +include include-repetition-sub.qapi +module include-repetition-sub.qapi +include comments.qapi +include comments.qapi +module include-repetition.qapi +include comments.qapitests/qapi-schema/include-repetition.qapi new file +3
-0@@ -0,0 +1,3 @@ +{ 'include': 'comments.qapi' } +{ 'include': 'include-repetition-sub.qapi' } +{ 'include': 'comments.qapi' }tests/qapi-schema/include-self-cycle.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/include-self-cycle.json:1: Inclusion loop for include-self-cycle.json +tests/qapi-schema/include-self-cycle.qapi:1: Inclusion loop for include-self-cycle.qapitests/qapi-schema/include-self-cycle.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': 'include-self-cycle.json' }tests/qapi-schema/include-self-cycle.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': 'include-self-cycle.qapi' }tests/qapi-schema/include-simple-sub.qapi renamed from tests/qapi-schema/include-simple-sub.json +0
-0tests/qapi-schema/include-simple.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': 'include-simple-sub.json' }tests/qapi-schema/include-simple.out +3
-3@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module include-simple.json -include include-simple-sub.json -module include-simple-sub.json +module include-simple.qapi +include include-simple-sub.qapi +module include-simple-sub.qapi enum Status ['good', 'bad', 'ugly']tests/qapi-schema/include-simple.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': 'include-simple-sub.qapi' }tests/qapi-schema/include/relpath.json deleted +0
-1@@ -1 +0,0 @@ -{ 'include': '../include-relpath-sub.json' }tests/qapi-schema/include/relpath.qapi new file +1
-0@@ -0,0 +1 @@ +{ 'include': '../include-relpath-sub.qapi' }tests/qapi-schema/indented-expr.out +1
-1@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module indented-expr.json +module indented-expr.qapi command eins None -> None gen=True success_response=True boxed=False oob=False command zwei None -> Nonetests/qapi-schema/indented-expr.qapi renamed from tests/qapi-schema/indented-expr.json +0
-0tests/qapi-schema/leading-comma-list.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/leading-comma-list.json:2:13: Expected "{", "[", "]", string, boolean or "null" +tests/qapi-schema/leading-comma-list.qapi:2:13: Expected "{", "[", "]", string, boolean or "null"tests/qapi-schema/leading-comma-list.qapi renamed from tests/qapi-schema/leading-comma-list.json +0
-0tests/qapi-schema/leading-comma-object.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/leading-comma-object.json:1:3: Expected string or "}" +tests/qapi-schema/leading-comma-object.qapi:1:3: Expected string or "}"tests/qapi-schema/leading-comma-object.qapi renamed from tests/qapi-schema/leading-comma-object.json +0
-0tests/qapi-schema/missing-colon.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/missing-colon.json:1:10: Expected ":" +tests/qapi-schema/missing-colon.qapi:1:10: Expected ":"tests/qapi-schema/missing-colon.qapi renamed from tests/qapi-schema/missing-colon.json +0
-0tests/qapi-schema/missing-comma-list.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/missing-comma-list.json:2:20: Expected "," or "]" +tests/qapi-schema/missing-comma-list.qapi:2:20: Expected "," or "]"tests/qapi-schema/missing-comma-list.qapi renamed from tests/qapi-schema/missing-comma-list.json +0
-0tests/qapi-schema/missing-comma-object.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/missing-comma-object.json:2:3: Expected "," or "}" +tests/qapi-schema/missing-comma-object.qapi:2:3: Expected "," or "}"tests/qapi-schema/missing-comma-object.qapi renamed from tests/qapi-schema/missing-comma-object.json +0
-0tests/qapi-schema/missing-type.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/missing-type.json:2: Expression is missing metatype +tests/qapi-schema/missing-type.qapi:2: Expression is missing metatypetests/qapi-schema/missing-type.qapi renamed from tests/qapi-schema/missing-type.json +0
-0tests/qapi-schema/nested-struct-data.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/nested-struct-data.json:2: Member 'a' of 'data' for command 'foo' should be a type name +tests/qapi-schema/nested-struct-data.qapi:2: Member 'a' of 'data' for command 'foo' should be a type nametests/qapi-schema/nested-struct-data.qapi renamed from tests/qapi-schema/nested-struct-data.json +0
-0tests/qapi-schema/non-objects.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/non-objects.json:1:1: Expected "{" +tests/qapi-schema/non-objects.qapi:1:1: Expected "{"tests/qapi-schema/non-objects.qapi renamed from tests/qapi-schema/non-objects.json +0
-0tests/qapi-schema/oob-test.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/oob-test.json:2: 'allow-oob' of command 'oob-command-1' should only use true value +tests/qapi-schema/oob-test.qapi:2: 'allow-oob' of command 'oob-command-1' should only use true valuetests/qapi-schema/oob-test.qapi renamed from tests/qapi-schema/oob-test.json +0
-0tests/qapi-schema/pragma-doc-required-crap.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/pragma-doc-required-crap.json:3: Pragma 'doc-required' must be boolean +tests/qapi-schema/pragma-doc-required-crap.qapi:3: Pragma 'doc-required' must be booleantests/qapi-schema/pragma-doc-required-crap.qapi renamed from tests/qapi-schema/pragma-doc-required-crap.json +0
-0tests/qapi-schema/pragma-extra-junk.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/pragma-extra-junk.json:3: Invalid 'pragma' directive +tests/qapi-schema/pragma-extra-junk.qapi:3: Invalid 'pragma' directivetests/qapi-schema/pragma-extra-junk.qapi renamed from tests/qapi-schema/pragma-extra-junk.json +0
-0tests/qapi-schema/pragma-name-case-whitelist-crap.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/pragma-name-case-whitelist-crap.json:3: Pragma name-case-whitelist must be a list of strings +tests/qapi-schema/pragma-name-case-whitelist-crap.qapi:3: Pragma name-case-whitelist must be a list of stringstests/qapi-schema/pragma-name-case-whitelist-crap.qapi renamed from tests/qapi-schema/pragma-name-case-whitelist-crap.json +0
-0tests/qapi-schema/pragma-non-dict.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/pragma-non-dict.json:3: Value of 'pragma' must be a dictionary +tests/qapi-schema/pragma-non-dict.qapi:3: Value of 'pragma' must be a dictionarytests/qapi-schema/pragma-non-dict.qapi renamed from tests/qapi-schema/pragma-non-dict.json +0
-0tests/qapi-schema/pragma-returns-whitelist-crap.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/pragma-returns-whitelist-crap.json:3: Pragma returns-whitelist must be a list of strings +tests/qapi-schema/pragma-returns-whitelist-crap.qapi:3: Pragma returns-whitelist must be a list of stringstests/qapi-schema/pragma-returns-whitelist-crap.qapi renamed from tests/qapi-schema/pragma-returns-whitelist-crap.json +0
-0tests/qapi-schema/qapi-schema-test.out +1
-1@@ -1,7 +1,7 @@ object q_empty enum QType ['none', 'qnull', 'qnum', 'qstring', 'qdict', 'qlist', 'qbool'] prefix QTYPE -module qapi-schema-test.json +module qapi-schema-test.qapi object TestStruct member integer: int optional=False member boolean: bool optional=Falsetests/qapi-schema/qapi-schema-test.qapi renamed from tests/qapi-schema/qapi-schema-test.json +0
-0tests/qapi-schema/quoted-structural-chars.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/quoted-structural-chars.json:1:1: Expected "{" +tests/qapi-schema/quoted-structural-chars.qapi:1:1: Expected "{"tests/qapi-schema/quoted-structural-chars.qapi renamed from tests/qapi-schema/quoted-structural-chars.json +0
-0tests/qapi-schema/redefined-builtin.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/redefined-builtin.json:2: built-in 'size' is already defined +tests/qapi-schema/redefined-builtin.qapi:2: built-in 'size' is already definedtests/qapi-schema/redefined-builtin.qapi renamed from tests/qapi-schema/redefined-builtin.json +0
-0tests/qapi-schema/redefined-command.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/redefined-command.json:3: command 'foo' is already defined +tests/qapi-schema/redefined-command.qapi:3: command 'foo' is already definedtests/qapi-schema/redefined-command.qapi renamed from tests/qapi-schema/redefined-command.json +0
-0tests/qapi-schema/redefined-event.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/redefined-event.json:3: event 'EVENT_A' is already defined +tests/qapi-schema/redefined-event.qapi:3: event 'EVENT_A' is already definedtests/qapi-schema/redefined-event.qapi renamed from tests/qapi-schema/redefined-event.json +0
-0tests/qapi-schema/redefined-type.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/redefined-type.json:3: struct 'foo' is already defined +tests/qapi-schema/redefined-type.qapi:3: struct 'foo' is already definedtests/qapi-schema/redefined-type.qapi renamed from tests/qapi-schema/redefined-type.json +0
-0tests/qapi-schema/reserved-command-q.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/reserved-command-q.json:5: 'command' uses invalid name 'q-unix' +tests/qapi-schema/reserved-command-q.qapi:5: 'command' uses invalid name 'q-unix'tests/qapi-schema/reserved-command-q.qapi renamed from tests/qapi-schema/reserved-command-q.json +0
-0tests/qapi-schema/reserved-enum-q.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/reserved-enum-q.json:4: Member of enum 'Foo' uses invalid name 'q-Unix' +tests/qapi-schema/reserved-enum-q.qapi:4: Member of enum 'Foo' uses invalid name 'q-Unix'tests/qapi-schema/reserved-enum-q.qapi renamed from tests/qapi-schema/reserved-enum-q.json +0
-0tests/qapi-schema/reserved-member-has.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/reserved-member-has.json:5: Member of 'data' for command 'oops' uses reserved name 'has-a' +tests/qapi-schema/reserved-member-has.qapi:5: Member of 'data' for command 'oops' uses reserved name 'has-a'tests/qapi-schema/reserved-member-has.qapi renamed from tests/qapi-schema/reserved-member-has.json +0
-0tests/qapi-schema/reserved-member-q.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/reserved-member-q.json:4: Member of 'data' for struct 'Foo' uses invalid name 'q-unix' +tests/qapi-schema/reserved-member-q.qapi:4: Member of 'data' for struct 'Foo' uses invalid name 'q-unix'tests/qapi-schema/reserved-member-q.qapi renamed from tests/qapi-schema/reserved-member-q.json +0
-0tests/qapi-schema/reserved-member-u.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/reserved-member-u.json:7: Member of 'data' for struct 'Oops' uses reserved name 'u' +tests/qapi-schema/reserved-member-u.qapi:7: Member of 'data' for struct 'Oops' uses reserved name 'u'tests/qapi-schema/reserved-member-u.qapi renamed from tests/qapi-schema/reserved-member-u.json +0
-0tests/qapi-schema/reserved-member-underscore.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/reserved-member-underscore.json:4: Member of 'data' for struct 'Oops' uses invalid name '_oops' +tests/qapi-schema/reserved-member-underscore.qapi:4: Member of 'data' for struct 'Oops' uses invalid name '_oops'tests/qapi-schema/reserved-member-underscore.qapi renamed from tests/qapi-schema/reserved-member-underscore.json +0
-0tests/qapi-schema/reserved-type-kind.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/reserved-type-kind.json:2: enum 'UnionKind' should not end in 'Kind' +tests/qapi-schema/reserved-type-kind.qapi:2: enum 'UnionKind' should not end in 'Kind'tests/qapi-schema/reserved-type-kind.qapi renamed from tests/qapi-schema/reserved-type-kind.json +0
-0tests/qapi-schema/reserved-type-list.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/reserved-type-list.json:5: struct 'FooList' should not end in 'List' +tests/qapi-schema/reserved-type-list.qapi:5: struct 'FooList' should not end in 'List'tests/qapi-schema/reserved-type-list.qapi renamed from tests/qapi-schema/reserved-type-list.json +0
-0tests/qapi-schema/returns-alternate.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/returns-alternate.json:3: 'returns' for command 'oops' cannot use alternate type 'Alt' +tests/qapi-schema/returns-alternate.qapi:3: 'returns' for command 'oops' cannot use alternate type 'Alt'tests/qapi-schema/returns-alternate.qapi renamed from tests/qapi-schema/returns-alternate.json +0
-0tests/qapi-schema/returns-array-bad.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/returns-array-bad.json:2: 'returns' for command 'oops': array type must contain single type name +tests/qapi-schema/returns-array-bad.qapi:2: 'returns' for command 'oops': array type must contain single type nametests/qapi-schema/returns-array-bad.qapi renamed from tests/qapi-schema/returns-array-bad.json +0
-0tests/qapi-schema/returns-dict.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/returns-dict.json:2: 'returns' for command 'oops' should be a type name +tests/qapi-schema/returns-dict.qapi:2: 'returns' for command 'oops' should be a type nametests/qapi-schema/returns-dict.qapi renamed from tests/qapi-schema/returns-dict.json +0
-0tests/qapi-schema/returns-unknown.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/returns-unknown.json:2: 'returns' for command 'oops' uses unknown type 'NoSuchType' +tests/qapi-schema/returns-unknown.qapi:2: 'returns' for command 'oops' uses unknown type 'NoSuchType'tests/qapi-schema/returns-unknown.qapi renamed from tests/qapi-schema/returns-unknown.json +0
-0tests/qapi-schema/returns-whitelist.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/returns-whitelist.json:14: 'returns' for command 'no-way-this-will-get-whitelisted' cannot use built-in type 'int' +tests/qapi-schema/returns-whitelist.qapi:14: 'returns' for command 'no-way-this-will-get-whitelisted' cannot use built-in type 'int'tests/qapi-schema/returns-whitelist.qapi renamed from tests/qapi-schema/returns-whitelist.json +0
-0tests/qapi-schema/struct-base-clash-deep.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/struct-base-clash-deep.json:10: 'name' (member of Sub) collides with 'name' (member of Base) +tests/qapi-schema/struct-base-clash-deep.qapi:10: 'name' (member of Sub) collides with 'name' (member of Base)tests/qapi-schema/struct-base-clash-deep.qapi renamed from tests/qapi-schema/struct-base-clash-deep.json +0
-0tests/qapi-schema/struct-base-clash.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/struct-base-clash.json:5: 'name' (member of Sub) collides with 'name' (member of Base) +tests/qapi-schema/struct-base-clash.qapi:5: 'name' (member of Sub) collides with 'name' (member of Base)tests/qapi-schema/struct-base-clash.qapi renamed from tests/qapi-schema/struct-base-clash.json +0
-0tests/qapi-schema/struct-data-invalid.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/struct-data-invalid.json:1: 'data' for struct 'foo' should be a dictionary or type name +tests/qapi-schema/struct-data-invalid.qapi:1: 'data' for struct 'foo' should be a dictionary or type nametests/qapi-schema/struct-data-invalid.qapi renamed from tests/qapi-schema/struct-data-invalid.json +0
-0tests/qapi-schema/struct-member-invalid.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/struct-member-invalid.json:1: Member 'a' of 'data' for struct 'foo' should be a type name +tests/qapi-schema/struct-member-invalid.qapi:1: Member 'a' of 'data' for struct 'foo' should be a type nametests/qapi-schema/struct-member-invalid.qapi renamed from tests/qapi-schema/struct-member-invalid.json +0
-0tests/qapi-schema/trailing-comma-list.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/trailing-comma-list.json:2:36: Expected "{", "[", string, boolean or "null" +tests/qapi-schema/trailing-comma-list.qapi:2:36: Expected "{", "[", string, boolean or "null"tests/qapi-schema/trailing-comma-list.qapi renamed from tests/qapi-schema/trailing-comma-list.json +0
-0tests/qapi-schema/trailing-comma-object.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/trailing-comma-object.json:2:38: Expected string +tests/qapi-schema/trailing-comma-object.qapi:2:38: Expected stringtests/qapi-schema/trailing-comma-object.qapi renamed from tests/qapi-schema/trailing-comma-object.json +0
-0tests/qapi-schema/type-bypass-bad-gen.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/type-bypass-bad-gen.json:2: 'gen' of command 'foo' should only use false value +tests/qapi-schema/type-bypass-bad-gen.qapi:2: 'gen' of command 'foo' should only use false valuetests/qapi-schema/type-bypass-bad-gen.qapi renamed from tests/qapi-schema/type-bypass-bad-gen.json +0
-0tests/qapi-schema/unclosed-list.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/unclosed-list.json:1:20: Expected "," or "]" +tests/qapi-schema/unclosed-list.qapi:1:20: Expected "," or "]"tests/qapi-schema/unclosed-list.qapi renamed from tests/qapi-schema/unclosed-list.json +0
-0tests/qapi-schema/unclosed-object.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/unclosed-object.json:1:21: Expected "," or "}" +tests/qapi-schema/unclosed-object.qapi:1:21: Expected "," or "}"tests/qapi-schema/unclosed-object.qapi renamed from tests/qapi-schema/unclosed-object.json +0
-0tests/qapi-schema/unclosed-string.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/unclosed-string.json:1:11: Missing terminating "'" +tests/qapi-schema/unclosed-string.qapi:1:11: Missing terminating "'"tests/qapi-schema/unclosed-string.qapi renamed from tests/qapi-schema/unclosed-string.json +0
-0tests/qapi-schema/unicode-str.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/unicode-str.json:2: 'command' uses invalid name 'é' +tests/qapi-schema/unicode-str.qapi:2: 'command' uses invalid name 'é'tests/qapi-schema/unicode-str.qapi renamed from tests/qapi-schema/unicode-str.json +0
-0tests/qapi-schema/union-base-empty.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/union-base-empty.json:5: Discriminator 'type' is not a member of base struct 'Empty' +tests/qapi-schema/union-base-empty.qapi:5: Discriminator 'type' is not a member of base struct 'Empty'tests/qapi-schema/union-base-empty.qapi renamed from tests/qapi-schema/union-base-empty.json +0
-0tests/qapi-schema/union-base-no-discriminator.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/union-base-no-discriminator.json:11: Simple union 'TestUnion' must not have a base +tests/qapi-schema/union-base-no-discriminator.qapi:11: Simple union 'TestUnion' must not have a basetests/qapi-schema/union-base-no-discriminator.qapi renamed from tests/qapi-schema/union-base-no-discriminator.json +0
-0tests/qapi-schema/union-branch-case.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/union-branch-case.json:2: 'Branch' (branch of NoWayThisWillGetWhitelisted) should not use uppercase +tests/qapi-schema/union-branch-case.qapi:2: 'Branch' (branch of NoWayThisWillGetWhitelisted) should not use uppercasetests/qapi-schema/union-branch-case.qapi renamed from tests/qapi-schema/union-branch-case.json +0
-0tests/qapi-schema/union-clash-branches.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/union-clash-branches.json:4: 'a_b' (branch of TestUnion) collides with 'a-b' (branch of TestUnion) +tests/qapi-schema/union-clash-branches.qapi:4: 'a_b' (branch of TestUnion) collides with 'a-b' (branch of TestUnion)tests/qapi-schema/union-clash-branches.qapi renamed from tests/qapi-schema/union-clash-branches.json +0
-0tests/qapi-schema/union-empty.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/union-empty.json:2: Union 'Union' cannot have empty 'data' +tests/qapi-schema/union-empty.qapi:2: Union 'Union' cannot have empty 'data'tests/qapi-schema/union-empty.qapi renamed from tests/qapi-schema/union-empty.json +0
-0tests/qapi-schema/union-invalid-base.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/union-invalid-base.json:8: 'base' for union 'TestUnion' cannot use built-in type 'int' +tests/qapi-schema/union-invalid-base.qapi:8: 'base' for union 'TestUnion' cannot use built-in type 'int'tests/qapi-schema/union-invalid-base.qapi renamed from tests/qapi-schema/union-invalid-base.json +0
-0tests/qapi-schema/union-optional-branch.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/union-optional-branch.json:2: Member of union 'Union' does not allow optional name '*a' +tests/qapi-schema/union-optional-branch.qapi:2: Member of union 'Union' does not allow optional name '*a'tests/qapi-schema/union-optional-branch.qapi renamed from tests/qapi-schema/union-optional-branch.json +0
-0tests/qapi-schema/union-unknown.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/union-unknown.json:2: Member 'unknown' of union 'Union' uses unknown type 'MissingType' +tests/qapi-schema/union-unknown.qapi:2: Member 'unknown' of union 'Union' uses unknown type 'MissingType'tests/qapi-schema/union-unknown.qapi renamed from tests/qapi-schema/union-unknown.json +0
-0tests/qapi-schema/unknown-escape.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/unknown-escape.json:3:21: Unknown escape \x +tests/qapi-schema/unknown-escape.qapi:3:21: Unknown escape \xtests/qapi-schema/unknown-escape.qapi renamed from tests/qapi-schema/unknown-escape.json +0
-0tests/qapi-schema/unknown-expr-key.err +1
-1@@ -1 +1 @@ -tests/qapi-schema/unknown-expr-key.json:2: Unknown key 'bogus' in struct 'bar' +tests/qapi-schema/unknown-expr-key.qapi:2: Unknown key 'bogus' in struct 'bar'tests/qapi-schema/unknown-expr-key.qapi renamed from tests/qapi-schema/unknown-expr-key.json +0
-0Signature · 1 line
2.14.3
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK