qapi-schema.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # -*- Mode: Python -*-
  2. # vim: filetype=python
  3. # Note that modules are shared with the QEMU main schema under the assumption
  4. # that the storage daemon schema is a subset of the main schema. For the shared
  5. # modules, no code is generated here, but we reuse the code files generated
  6. # from the main schema.
  7. #
  8. # If you wish to extend the storage daemon schema to contain things that are
  9. # not in the main schema, be aware that array types of types defined in shared
  10. # modules are only generated if an array of the respective type is already used
  11. # in the main schema. Therefore, if you use such arrays, you may need to define
  12. # the array type in the main schema, even if it is unused outside of the
  13. # storage daemon.
  14. ##
  15. # = Introduction
  16. #
  17. # This manual describes the commands and events supported by the QEMU
  18. # storage daemon QMP.
  19. #
  20. # For locating a particular item, please see the `qapi-qsd-index`.
  21. #
  22. # The following notation is used in examples:
  23. #
  24. # .. qmp-example::
  25. #
  26. # -> ... text sent by client (commands) ...
  27. # <- ... text sent by server (command responses and events) ...
  28. #
  29. # Example text is formatted for readability. However, in real
  30. # protocol usage, its commonly emitted as a single line.
  31. #
  32. # Please refer to the
  33. # :doc:`QEMU Machine Protocol Specification </interop/qmp-spec>`
  34. # for the general format of commands, responses, and events.
  35. ##
  36. { 'include': '../../qapi/pragma.json' }
  37. # Documentation generated with qapi-gen.py is in source order, with
  38. # included sub-schemas inserted at the first include directive
  39. # (subsequent include directives have no effect). To get a sane and
  40. # stable order, it's best to include each sub-schema just once, or
  41. # include it first right here.
  42. { 'include': '../../qapi/common.json' }
  43. { 'include': '../../qapi/sockets.json' }
  44. { 'include': '../../qapi/crypto.json' }
  45. { 'include': '../../qapi/job.json' }
  46. ##
  47. # = Block devices
  48. ##
  49. { 'include': '../../qapi/block-core.json' }
  50. { 'include': '../../qapi/block-export.json' }
  51. { 'include': '../../qapi/char.json' }
  52. { 'include': '../../qapi/authz.json' }
  53. { 'include': '../../qapi/transaction.json' }
  54. { 'include': '../../qapi/control.json' }
  55. { 'include': '../../qapi/introspect.json' }
  56. { 'include': '../../qapi/qom.json' }