xref: /qemu/storage-daemon/qapi/qapi-schema.json (revision 370ed600)
1# -*- Mode: Python -*-
2# vim: filetype=python
3
4# Note that modules are shared with the QEMU main schema under the assumption
5# that the storage daemon schema is a subset of the main schema. For the shared
6# modules, no code is generated here, but we reuse the code files generated
7# from the main schema.
8#
9# If you wish to extend the storage daemon schema to contain things that are
10# not in the main schema, be aware that array types of types defined in shared
11# modules are only generated if an array of the respective type is already used
12# in the main schema. Therefore, if you use such arrays, you may need to define
13# the array type in the main schema, even if it is unused outside of the
14# storage daemon.
15
16{ 'include': '../../qapi/pragma.json' }
17
18# Documentation generated with qapi-gen.py is in source order, with
19# included sub-schemas inserted at the first include directive
20# (subsequent include directives have no effect).  To get a sane and
21# stable order, it's best to include each sub-schema just once, or
22# include it first right here.
23
24{ 'include': '../../qapi/common.json' }
25{ 'include': '../../qapi/sockets.json' }
26{ 'include': '../../qapi/crypto.json' }
27{ 'include': '../../qapi/job.json' }
28
29##
30# = Block devices
31##
32{ 'include': '../../qapi/block-core.json' }
33{ 'include': '../../qapi/block-export.json' }
34
35{ 'include': '../../qapi/char.json' }
36{ 'include': '../../qapi/authz.json' }
37{ 'include': '../../qapi/transaction.json' }
38{ 'include': '../../qapi/control.json' }
39{ 'include': '../../qapi/introspect.json' }
40{ 'include': '../../qapi/qom.json' }
41