On 13.10.21 23:57, John Snow wrote:
Wait for the destination VM to close itself instead of racing to shut it
down first, which produces different error log messages from AQMP
depending on precisely when we tried to shut it down.

(For example: We may try to issue 'quit' immediately prior to the target
VM closing its QMP socket, which will cause an ECONNRESET error to be
logged. Waiting for the VM to exit itself avoids the race on shutdown
behavior.)

Reported-by: Hanna Reitz <hre...@redhat.com>
Signed-off-by: John Snow <js...@redhat.com>
---
  tests/qemu-iotests/300 | 12 ++++--------
  1 file changed, 4 insertions(+), 8 deletions(-)

Reviewed-by: Hanna Reitz <hre...@redhat.com>


Reply via email to