Daniel P. Berrangé <berra...@redhat.com> writes: > On Wed, Mar 16, 2022 at 10:54:55AM +0100, Damien Hedde wrote: >> It takes an input file containing raw qmp commands (concatenated json >> dicts) and send all commands one by one to a qmp server. When one >> command fails, it exits. >> >> As a convenience, it can also wrap the qemu process to avoid having >> to start qemu in background. When wrapping qemu, the program returns >> only when the qemu process terminates. >> >> Signed-off-by: Damien Hedde <damien.he...@greensocs.com>
[...] >> I name that qmp-send as Daniel proposed, maybe qmp-test matches better >> what I'm doing there ? > > 'qmp-test' is a use case specific name. I think it is better to > name it based on functionality provided rather than anticipated > use case, since use cases evolve over time, hence 'qmp-send'. Well, it doesn't just send, it also receives. qmpcat, like netcat and socat? [...]