On Wed, 10 Jun 2026 13:34:03 +0100, Daniel P. Berrangé <berrange@redhat.com> wrote:
diff --git a/qemu-options.hx b/qemu-options.hx index 96ae41f787b..031417b79d2 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -5709,6 +5719,34 @@ SRST they are specified. Note that the 'id' property must be set. These objects are placed in the '/objects' path.
+ ``-object monitor-hmp,id=id,chardev=chardv_id,readline=on|off``
chardev_id
+ Set up a monitor running the Human Monitor Protocol, + connected to the chardev ``chrid``.
chardev_id
+ + The ``id`` parameter is a unique ID that can be used + to dynamically delete the monitor at runtime.
Maybe update the doc at last patch of the series?
+ + The ``readline`` parameter, which defaults to ``on``, + controls whether the monitor provides interactive + prompts
.
+ + ``-object monitor-qmp,id=id,chardev=chardev_id,pretty=on|off`` + Set up a monitor running the QEMU Monitor Protocol, + connected to the chardev ``chrid``.
chardev_id
+ + The ``id`` parameter is a unique ID that can be used + to dynamically delete the monitor at runtime. Note + that monitors created using the historical syntax + will be allocated IDs following the pattern ``monNN``.
"qmpcompatN" and "hmpcompatN" -- Marc-André Lureau <marcandre.lureau@redhat.com>