xref: /qemu/storage-daemon/qapi/qapi-schema.json (revision 897c68fb795cf03b89b6688a6f945d68a765c3e4)
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##
17# = QEMU storage daemon protocol commands and structs
18#
19# For a concise listing of all commands, events, and types in the QEMU
20# storage daemon, please consult the `qapi-qsd-index`.
21##
22
23
24{ 'include': '../../qapi/pragma.json' }
25
26# Documentation generated with qapi-gen.py is in source order, with
27# included sub-schemas inserted at the first include directive
28# (subsequent include directives have no effect).  To get a sane and
29# stable order, it's best to include each sub-schema just once, or
30# include it first right here.
31
32{ 'include': '../../qapi/common.json' }
33{ 'include': '../../qapi/sockets.json' }
34{ 'include': '../../qapi/crypto.json' }
35{ 'include': '../../qapi/job.json' }
36
37##
38# = Block devices
39##
40{ 'include': '../../qapi/block-core.json' }
41{ 'include': '../../qapi/block-export.json' }
42
43{ 'include': '../../qapi/char.json' }
44{ 'include': '../../qapi/authz.json' }
45{ 'include': '../../qapi/transaction.json' }
46{ 'include': '../../qapi/control.json' }
47{ 'include': '../../qapi/introspect.json' }
48{ 'include': '../../qapi/qom.json' }
49