1QMP-SHELL-WRAP(1) QEMU Monitor Protocol Library QMP-SHELL-WRAP(1)
2
3
4
6 qmp-shell-wrap - QEMU + qmp-shell launcher utility
7
9 qmp-shell-wrap [-h] [-H] [-v] [-p] [-l LOGFILE] ...
10
12 Launch QEMU and connect to it with qmp-shell in a single command. CLI
13 arguments will be forwarded to qemu, with additional arguments added to
14 allow qmp-shell to then connect to the recently launched QEMU instance.
15
16 positional arguments:
17 command QEMU command line to invoke
18
19 optional arguments:
20
21 -h, --help
22 show this help message and exit
23
24 -H, --hmp
25 Use HMP interface
26
27 -v, --verbose
28 Verbose (echo commands sent and received)
29
30 -p, --pretty
31 Pretty-print JSON
32
33 -l LOGFILE, --logfile LOGFILE
34 Save log of all QMP messages to PATH
35
36 Usage
37 Prepend "qmp-shell-wrap" to your usual QEMU command line:
38
39 > qmp-shell-wrap qemu-system-x86_64 -M q35 -m 4096 -display none
40 Welcome to the QMP low-level shell!
41 Connected
42 (QEMU)
43
45 Refer to qmp-shell(1) for information on syntax and operation of the
46 qmp-shell utility itself.
47
49 The QEMU Project authors
50
52 2009-2023, QEMU Project
53
54
55
56
570.0.2 Jan 20, 2023 QMP-SHELL-WRAP(1)