xref: /qemu/storage-daemon/qapi/qapi-schema.json (revision a6af54434400099b8afd59ba036cf9a662006d1e)
12af282ecSKevin Wolf# -*- Mode: Python -*-
2f7160f32SAndrea Bolognani# vim: filetype=python
32af282ecSKevin Wolf
42af282ecSKevin Wolf# Note that modules are shared with the QEMU main schema under the assumption
52af282ecSKevin Wolf# that the storage daemon schema is a subset of the main schema. For the shared
62af282ecSKevin Wolf# modules, no code is generated here, but we reuse the code files generated
72af282ecSKevin Wolf# from the main schema.
82af282ecSKevin Wolf#
92af282ecSKevin Wolf# If you wish to extend the storage daemon schema to contain things that are
102af282ecSKevin Wolf# not in the main schema, be aware that array types of types defined in shared
112af282ecSKevin Wolf# modules are only generated if an array of the respective type is already used
122af282ecSKevin Wolf# in the main schema. Therefore, if you use such arrays, you may need to define
132af282ecSKevin Wolf# the array type in the main schema, even if it is unused outside of the
142af282ecSKevin Wolf# storage daemon.
152af282ecSKevin Wolf
16*a6af5443SJohn Snow##
17*a6af5443SJohn Snow# = QEMU storage daemon protocol commands and structs
18*a6af5443SJohn Snow#
19*a6af5443SJohn Snow# For a concise listing of all commands, events, and types in the QEMU
20*a6af5443SJohn Snow# storage daemon, please consult the `qapi-qsd-index`.
21*a6af5443SJohn Snow##
22*a6af5443SJohn Snow
23*a6af5443SJohn Snow
242af282ecSKevin Wolf{ 'include': '../../qapi/pragma.json' }
252af282ecSKevin Wolf
264622c706SMarkus Armbruster# Documentation generated with qapi-gen.py is in source order, with
274622c706SMarkus Armbruster# included sub-schemas inserted at the first include directive
284622c706SMarkus Armbruster# (subsequent include directives have no effect).  To get a sane and
294622c706SMarkus Armbruster# stable order, it's best to include each sub-schema just once, or
304622c706SMarkus Armbruster# include it first right here.
314622c706SMarkus Armbruster
324622c706SMarkus Armbruster{ 'include': '../../qapi/common.json' }
334622c706SMarkus Armbruster{ 'include': '../../qapi/sockets.json' }
344622c706SMarkus Armbruster{ 'include': '../../qapi/crypto.json' }
354622c706SMarkus Armbruster{ 'include': '../../qapi/job.json' }
364622c706SMarkus Armbruster
3723c02aceSStefan Hajnoczi##
3823c02aceSStefan Hajnoczi# = Block devices
3923c02aceSStefan Hajnoczi##
402af282ecSKevin Wolf{ 'include': '../../qapi/block-core.json' }
415daa6bfdSKevin Wolf{ 'include': '../../qapi/block-export.json' }
424622c706SMarkus Armbruster
432af282ecSKevin Wolf{ 'include': '../../qapi/char.json' }
448825587bSKevin Wolf{ 'include': '../../qapi/authz.json' }
452af282ecSKevin Wolf{ 'include': '../../qapi/transaction.json' }
464622c706SMarkus Armbruster{ 'include': '../../qapi/control.json' }
474622c706SMarkus Armbruster{ 'include': '../../qapi/introspect.json' }
484622c706SMarkus Armbruster{ 'include': '../../qapi/qom.json' }
49