QMP-SHELL-WRAP(1)

πŸ“¦
version 0.0.6 Β· 4 versions
, in ubuntu stonking

πŸ’– QMP-SHELL-WRAP(1) πŸ’–

okay bestie, quick vibe check: this page lives in the QEMU Monitor Protocol Library, and it's the little launcher utility that makes QEMU + qmp-shell happen in literally one command. no cap. let's get into it πŸ¦‹


✨ NAME ✨

qmp-shell-wrap β€” the QEMU + qmp-shell launcher utility, the iconic duo starter pack πŸ‘‘

✨ SYNOPSIS ✨

qmp-shell-wrap [-h] [-H] [-v] [-p] [-l LOGFILE] ...

✨ DESCRIPTION ✨

So here's the tea: this launches QEMU and hooks you up to it with qmp-shell <#qmp-shell> in a single command. One command. That's it. Main character energy fr fr πŸ’…

Your CLI arguments get forwarded straight to qemu, and then a few extra arguments get added on top so that qmp-shell <#qmp-shell> can go ahead and connect to the QEMU instance that just got launched. It's giving "handshake but make it effortless". 🫢

positional arguments:

  • command β€” the QEMU command line you wanna invoke 🌸

optional arguments:

  • -h, --help β€” show this help message and exit, the classic πŸŽ€
  • -H, --hmp β€” use the HMP interface
  • -v, --verbose β€” verbose mode, aka echo every command sent and received, so you can see everything happening in real time πŸ‘€
  • -p, --pretty β€” pretty-print that JSON, because unformatted JSON is a crime against humanity honestly ✨
  • -l LOGFILE, --logfile LOGFILE β€” save a log of all QMP messages to PATH πŸ’Ύ

Usage 🌈

Just prepend qmp-shell-wrap to your usual QEMU command line, that's the whole trick:

> qmp-shell-wrap qemu-system-x86_64 -M q35 -m 4096 -display none
Welcome to the QMP low-level shell!
Connected
(QEMU)

look at her go 😭 she's connected.


✨ SEE ALSO ✨

Refer to qmp-shell(1) <#qmp-shell> for the info on syntax and how to actually operate the qmp-shell utility itself β€” that's where the deep lore lives 🧚

✨ Author ✨

The QEMU Project authors πŸ’œ

2009-2022, QEMU Project


no cap, this page is unknown version and dated Apr 03, 2026 β€” so like, shoutout to QEMU Monitor Protocol Library for sponsoring this whole read, and shoutout to you for making it to the end. mwah. πŸ’–πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from