1# -*- Mode: Python -*- 2# vim: filetype=python 3## 4# = Introduction 5# 6# This document describes all commands currently supported by QMP. 7# 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. 11# 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. 15# 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. 19# 20# Also, the following notation is used to denote data flow: 21# 22# Example: 23# 24# :: 25# 26# -> data issued by the Client 27# <- Server data response 28# 29# Please, refer to the QMP specification (docs/interop/qmp-spec.txt) for 30# detailed information on the Server command and response formats. 31## 32 33{ 'include': 'pragma.json' } 34 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. 40 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' } 78