xref: /openbmc/qemu/docs/system/monitor.rst (revision a6b30bcae6ebc71bae83e0ac7a5f0dfc93bb5b3e)
1.. _pcsys_005fmonitor:
2
3QEMU Monitor
4------------
5
6The QEMU monitor is used to give complex commands to the QEMU emulator.
7You can use it to:
8
9-  Remove or insert removable media images (such as CD-ROM or
10   floppies).
11
12-  Freeze/unfreeze the Virtual Machine (VM) and save or restore its
13   state from a disk file.
14
15-  Inspect the VM state without an external debugger.
16
17Commands
18~~~~~~~~
19
20The following commands are available:
21
22.. hxtool-doc:: hmp-commands.hx
23
24..
25  TODO: convert and reference hmp-commands-info.hx
26
27
28Integer expressions
29~~~~~~~~~~~~~~~~~~~
30
31The monitor understands integers expressions for every integer argument.
32You can use register names to get the value of specifics CPU registers
33by prefixing them with *$*.
34