qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V3 0/2] tests: Fix possible deadlock in qtest in


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH V3 0/2] tests: Fix possible deadlock in qtest initialization
Date: Tue, 11 Mar 2014 06:32:42 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 03/11/2014 06:24 AM, Marcel Apfelbaum wrote:
> V2 -> V3:
>      Addressed Eric Blake's review:
>      - Corrected a typo.
>      - Replace the commented Makefile part
> 
> V1 -> V2:
>     Addressed Stefan Hajnoczi's review:
>     - Dropped qtest_state_valid API
>     - Moved socket options in socket_accept. 
> 
> 'socket_accept' waits for Qemu to initialize its unix socket.
> If Qemu encounters an error during command line parsing,
> it can exit before initializing the communication channel.
> 
> Using a timeout for sockets fixes the issue, but is not
> enough. We need to know which test from check-qtest-*
> fails.
> 
> We tweak the Makefile to produce per-test output.
> The effect is that the output will grow, but we will know
> which qtest failed. This helps when an assert is made on
> other code and not in the test itself.
> 

Series:
Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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