qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v15 13/21] iotests: 091: Quit QEMU before checki


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v15 13/21] iotests: 091: Quit QEMU before checking image
Date: Wed, 26 Apr 2017 14:34:41 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 26.04.2017 um 05:34 hat Fam Zheng geschrieben:
> Signed-off-by: Fam Zheng <address@hidden>
> Reviewed-by: Max Reitz <address@hidden>
> ---
>  tests/qemu-iotests/091 | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/qemu-iotests/091 b/tests/qemu-iotests/091
> index 32bbd56..10ac4a8 100755
> --- a/tests/qemu-iotests/091
> +++ b/tests/qemu-iotests/091
> @@ -95,7 +95,9 @@ echo "vm2: qemu process running successfully"
>  echo "vm2: flush io, and quit"
>  _send_qemu_cmd $h2 'qemu-io disk flush' "(qemu)"
>  _send_qemu_cmd $h2 'quit' ""
> +_send_qemu_cmd $h1 'quit' ""
>  
> +wait

I think it's better to use the function from common.qemu for this:

    wait=1 _cleanup_qemu

Kevin



reply via email to

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