qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH] iotests: 153: Wait for an answer to QMP command


From: Kevin Wolf
Subject: Re: [Qemu-block] [PATCH] iotests: 153: Wait for an answer to QMP commands
Date: Fri, 15 Mar 2019 13:06:08 +0100
User-agent: Mutt/1.11.3 (2019-02-01)

Am 15.03.2019 um 12:46 hat Sergio Lopez geschrieben:
> There are various actions in this test that must be executed
> sequentially, as the result of it depends on the state triggered by the
> previous one.
> 
> If the last argument of _send_qemu_cmd() is an empty string, it just
> sends the QMP commands without waiting for an answer. While unlikely, it
> may happen that the next action in the test gets invoked before QEMU
> processes the QMP request.
> 
> This issue seems to be easier to reproduce on servers with limited
> resources or highly loaded.
> 
> With this change, we wait for an answer on all _send_qemu_cmd() calls.
> 
> Signed-off-by: Sergio Lopez <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]