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