Markus Armbruster <arm...@redhat.com> writes: [...]
> Limitations: > > 1. If we convert a long-running HMP command to this technique, we print > its output only after it completed its work. We also end up with a > long-running QMP command, which is bad, because it stops the main > loop and makes the QMP monitor unresponsive (except for OOB commands, > if the client is careful). The former can be mitigated with > 'coroutine': true. The latter can't. > > 2. We can't prompt for input. > > The only current use I can see is HMP "change vnc passwd" prompting > for a password. Except you currently have to say "change vnc passwd > wtf" to get it to prompt (suspect logic error in commit cfb5387a1de). Subject: [PATCH 1/2] hmp: Unbreak "change vnc" Message-Id: <20210909081219.308065-2-arm...@redhat.com> > > > [...]