Am 30.05.2012 12:01, schrieb Pavel Hrdina:
> For debug it would be nice to have a same functionality for the qmp monitor
> on stdio as the hmp monitor on stdio has. For this purpose we also use
> readline mode for qmp monitor on stdio.
> 
> Because we don't need anymore an echo function for stdio, there is also 
> revert of
> a commit, which added this functionality.

Thanks, this will be really helpful when using QMP manually!

You'll probably want to disable the tab completion though, it assumes
HMP commands (unless you want to make a working QMP completion, which
would be very cool, but probably isn't worth the effort).

Another thing I thought of is that we could already add one entry to the
readline history on qemu start: {"execute":"qmp_capabilities"} You're
very likely to use this command as the first thing in your QMP session.

Kevin

Reply via email to