This hudge chainsawing series sit on top of my quorum maintenance series. It extract commons definition and block definition into separate files.
-qapi/common.json contains some definition required by all qapi modules -qapi/block-core.json contains core qapi block definition usable without the emulation code. -qapi/block.json is a superset of the previous usable with emulation Transaction where left appart because they relies on internal snapshot and hence cannot be included in block-core.json for now. Best regards Benoît Benoît Canet (72): qapi: Extract ErrorClass definition in qapi/common.json qapi: Extract VersionInfo definition in qapi/common.json qapi: Extract query-version definition in qapi/common.json qapi: Extract CommandInfo definition in qapi/common.json qapi: Extract query-commands definition into qapi/common.json qapi: create two block related json modules qapi: Extract SnapshotInfo definition into qapi/block-core.json qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json qapi: Extract ImageInfoSpecific definition into qapi/block-core.json qapi: Extract ImageInfo definition into qapi/block-core.json qapi: Extract ImageCheck definition into qapi/block-core.json qapi: Extract BlockDeviceInfo definition into qapi/block-core.json qapi: Extract BlockDeviceIoStatus definition into qapi/block-core.json qapi: Extract BlockDeviceMapEntry definition into qapi/block-core.json qapi: Extract BlockDirtyInfo definition into qapi/block-core.json qapi: Extract BlockInfo definition into qapi/block-core.json qapi: Extract query-block definition into qapi/block-core.json qapi: Extract BlockDeviceStats definition into qapi/block-core.json qapi: Extract BlockStats definition into qapi/block-core.json qapi: Extract query-blockstats definition into qapi/block-core.json qapi: Extract BlockdevOnError definition into qapi/block-core.json qapi: Extract MirrorSyncMode definition into qapi/block-core.json qapi: Extract BlockJobType definition into qapi/block-core.json qapi: Extract BlockJobInfo definition into qapi/block-core.json qapi: Extract query-block-jobs definition into qapi/block-core.json qapi: Extract block_passwd definition into qapi/block-core.json qapi: Extract block_resize definition into qapi/block-core.json qapi: Extract NewImageMode definition into qapi/block-core.json qapi: Extract BlockdevSnapshot definition into qapi/block-core.json qapi: Extract DriveBackup definition into qapi/block-core.json qapi: Extract blockdev-snapshot-sync into qapi/block-core.json qapi: Extract block-commit definition into qapi/block-core.json qapi: Extract drive-backup definition into qapi/block-core.json qapi: Extract query-named-block-nodes definition into qapi/block-core.json qapi: Extract drive-mirror definition into qapi/block-core.json qapi: Extract block_set_io_throttle definition into qapi/block-core.json qapi: Extract block-stream definition into qapi/block-core.json qapi: Extract block-job-set-speed definition into qapi/block-core.json qapi: Extrat block-job-cancel definition into qapi/block-core.json qapi: Extract block-job-pause definition into qapi/block-core.json qapi: Extract block-job-resume definition into qapi/block-core.json qapi: Extract block-job-complete definition into qapi/block-core.json qapi: Extract drive-mirror-replace definition into qapi/block-core.json qapi: Extract BlockdevDiscardOptions definition into qapi/block-core.json qapi: Extract BlockdevDetectZeroesOptions definition into qapi/block-core.json qapi: Extract BlockdevAioOptions definition into qapi/block-core.json qapi: Extract BlockdevCacheOptions definition into qapi/block-core.json qapi: Extract BlockdevDriver definition into qapi/block-core.json qapi: Extract BlockdevOptionsBase definition into qapi/block-core.json qapi: Extract BlockdevOptionsFile definition into qapi/block-core.json qapi: Extract BlockdevOptionsVVFAT definition into qapi/block-core.json qapi: Extract BlockdevOptionsGenericFormat definition into qapi/block-core.json qapi: Extract BlockdevOptionsGenericCOWFormat definition into qapi/block-core.json qapi: Extract BlockdevOptionsQcow2 definition into qapi/block-core.json qapi: Extract BlkdebugEvent definition into qapi/block-core.json qapi: Extract BlkdebugInjectErrorOptions definition into qapi/block-core.json qapi: Extract BlkdebugSetStateOptions definition into qapi/block-core.json qapi: Extract BlockdevOptionsBlkdebug definition into qapi/block-core.json qapi: Extract BlockdevOptionsBlkverify definition into qapi/block-core.json qapi: Extract BlockdevOptionsQuorum definition into qapi/block-core.json qapi: Extract BlockdevOptions definition into qapi/block-core.json qapi: Extract BlockdevRef definition into qapi/block-core.json qapi: Extract blockdev-add definition into qapi/block-core.json qapi: Extract BiosAtaTranslation definition into qapi/block.json qapi: Extract BlockdevSnapshotInternal definition into qapi/block.json qapi: Extract blockdev-snapshot-internal-sync definition into qapi/block.json qapi: Extract blockdev-snapshot-delete-internal-sync definition into qapi/block.json qapi: Extract eject definition into qapi/block.json qapi: Extract nbd-server-start definition into qapi/block.json qapi: Extract nbd-server-add definition into qapi/block.json qapi: Extract nbd-server-stop definition into qapi/block.json qapi-schema.json | 1881 +++----------------------------------------------- qapi/block-core.json | 1448 ++++++++++++++++++++++++++++++++++++++ qapi/block.json | 166 +++++ qapi/common.json | 89 +++ 4 files changed, 1803 insertions(+), 1781 deletions(-) create mode 100644 qapi/block-core.json create mode 100644 qapi/block.json create mode 100644 qapi/common.json -- 1.9.1