Daniel P. Berrangé <[email protected]> writes: > The high level `-qmp` and `-monitor` options can remain as convenience > wrappers, but the low level `-mon` is completed obsoleted by the new > `-object` support with 'monitor-qmp' and 'monitor-hmp' types. > > Reviewed-by: Marc-André Lureau <[email protected]> > Tested-by: Peter Krempa <[email protected]> > Signed-off-by: Daniel P. Berrangé <[email protected]> > --- > docs/about/deprecated.rst | 10 ++++++++++ > docs/devel/writing-monitor-commands.rst | 4 ++-- > docs/system/arm/xenpvh.rst | 4 ++-- > docs/system/i386/xen.rst | 3 ++- > docs/system/i386/xenpvh.rst | 4 ++-- > qemu-options.hx | 11 ++++++----- > system/vl.c | 2 ++ > 7 files changed, 26 insertions(+), 12 deletions(-) > > diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst > index 97750f5edc..8370fc5680 100644 > --- a/docs/about/deprecated.rst > +++ b/docs/about/deprecated.rst > @@ -61,6 +61,16 @@ The ``debug-threads`` option of the ``-name`` argument is > now > ignored. Thread naming is unconditionally enabled for all platforms > where it is supported. > > +``-mon`` option (since 11.1) > +'''''''''''''''''''''''''''' > + > +The ``-mon`` option was the generic mechanism for creating monitor objects > +if the convenience ``-qmp`` or ``-monitor`` options were not flexible > +enough. The monitor objects have been converted to QOM, so ``-mon > mode=readline`` > +is replaced by ``-object monitor-hmp`` and ``-mon mode=control`` is replaced > +by ``-object monitor-qmp``. The short convenience options are not deprecated, > +only ``-mon``. > +
Suggest to wrap lines around column 70. > QEMU Machine Protocol (QMP) commands > ------------------------------------ > [...]
