|
From: | Markus Armbruster |
Subject: | Re: [Qemu-devel] [PATCH v7 3/7] monitor: suspend monitor instead of send CMD_DROP |
Date: | Mon, 03 Sep 2018 09:56:58 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
One more thing: we need test coverage for "suspend on full queue, resume when the logjam clears". qmp-test.c got the building blocks. Something like this: send_cmd_that_blocks() eight times send_oob_cmd_that_fails() unblock_blocked_cmd() recv_cmd_id() for the 1st in-band command recv_cmd_id() for the oob command unblock_blocked_cmd() recv_cmd_id() for the 2nd in-band command ... repeat for the remaining six in-band commands ...
[Prev in Thread] | Current Thread | [Next in Thread] |