6 # This document describes all commands currently supported by QMP.
8 # Most of the time their usage is exactly the same as in the user Monitor, this
9 # means that any other document which also describe commands (the manpage,
10 # QEMU's manual, etc) can and should be consulted.
12 # QMP has two types of commands: regular and query commands. Regular commands
13 # usually change the Virtual Machine's state someway, while query commands just
14 # return information. The sections below are divided accordingly.
16 # It's important to observe that all communication examples are formatted in
17 # a reader-friendly way, so that they're easier to understand. However, in real
18 # protocol usage, they're emitted as a single line.
20 # Also, the following notation is used to denote data flow:
26 # -> data issued by the Client
27 # <- Server data response
29 # Please, refer to the QMP specification (docs/interop/qmp-spec.txt) for
30 # detailed information on the Server command and response formats.
33 { 'include': 'pragma.json' }
35 # Documentation generated with qapi-gen.py is in source order, with
36 # included sub-schemas inserted at the first include directive
37 # (subsequent include directives have no effect). To get a sane and
38 # stable order, it's best to include each sub-schema just once, or
39 # include it first right here.
41 { 'include': 'error.json' }
42 { 'include': 'common.json' }
43 { 'include': 'sockets.json' }
44 { 'include': 'run-state.json' }
45 { 'include': 'crypto.json' }
46 { 'include': 'job.json' }
47 { 'include': 'block.json' }
48 { 'include': 'block-export.json' }
49 { 'include': 'char.json' }
50 { 'include': 'dump.json' }
51 { 'include': 'net.json' }
52 { 'include': 'rdma.json' }
53 { 'include': 'rocker.json' }
54 { 'include': 'tpm.json' }
55 { 'include': 'ui.json' }
56 { 'include': 'authz.json' }
57 { 'include': 'migration.json' }
58 { 'include': 'transaction.json' }
59 { 'include': 'trace.json' }
60 { 'include': 'compat.json' }
61 { 'include': 'control.json' }
62 { 'include': 'introspect.json' }
63 { 'include': 'qom.json' }
64 { 'include': 'qdev.json' }
65 { 'include': 'machine.json' }
66 { 'include': 'machine-target.json' }
67 { 'include': 'replay.json' }
68 { 'include': 'yank.json' }
69 { 'include': 'misc.json' }
70 { 'include': 'misc-target.json' }
71 { 'include': 'audio.json' }
72 { 'include': 'acpi.json' }
73 { 'include': 'pci.json' }
74 { 'include': 'stats.json' }
75 { 'include': 'virtio.json' }
76 { 'include': 'cryptodev.json' }
77 { 'include': 'cxl.json' }