xref: /openbmc/qemu/docs/system/monitor.rst (revision 22ec0c69)
1.. _QEMU monitor:
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.. hxtool-doc:: hmp-commands-info.hx
25
26Integer expressions
27~~~~~~~~~~~~~~~~~~~
28
29The monitor understands integers expressions for every integer argument.
30You can use register names to get the value of specifics CPU registers
31by prefixing them with *$*.
32