xref: /qemu/storage-daemon/qapi/qapi-schema.json (revision cd9e18641b4f2bf96c0b5add83ae1ebad87f9c3d)
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# = Introduction
18#
19# This manual describes the commands and events supported by the QEMU
20# storage daemon QMP.
21#
22# For locating a particular item, please see the `qapi-qsd-index`.
23#
24# The following notation is used in examples:
25#
26# .. qmp-example::
27#
28#   -> ... text sent by client (commands) ...
29#   <- ... text sent by server (command responses and events) ...
30#
31# Example text is formatted for readability.  However, in real
32# protocol usage, its commonly emitted as a single line.
33#
34# Please refer to the
35# :doc:`QEMU Machine Protocol Specification </interop/qmp-spec>`
36# for the general format of commands, responses, and events.
37##
38
39
40{ 'include': '../../qapi/pragma.json' }
41
42# Documentation generated with qapi-gen.py is in source order, with
43# included sub-schemas inserted at the first include directive
44# (subsequent include directives have no effect).  To get a sane and
45# stable order, it's best to include each sub-schema just once, or
46# include it first right here.
47
48{ 'include': '../../qapi/common.json' }
49{ 'include': '../../qapi/sockets.json' }
50{ 'include': '../../qapi/crypto.json' }
51{ 'include': '../../qapi/job.json' }
52
53##
54# = Block devices
55##
56{ 'include': '../../qapi/block-core.json' }
57{ 'include': '../../qapi/block-export.json' }
58
59{ 'include': '../../qapi/char.json' }
60{ 'include': '../../qapi/authz.json' }
61{ 'include': '../../qapi/transaction.json' }
62{ 'include': '../../qapi/control.json' }
63{ 'include': '../../qapi/introspect.json' }
64{ 'include': '../../qapi/qom.json' }
65