qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V3 0/2] tests: Fix possible deadlock in qtest initialization
@ 2014-03-11 12:24 Marcel Apfelbaum
  2014-03-11 12:24 ` [Qemu-devel] [PATCH V3 1/2] tests/libqtest: " Marcel Apfelbaum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marcel Apfelbaum @ 2014-03-11 12:24 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, stefanha, armbru, aliguori, afaerber

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.


Marcel Apfelbaum (1):
  tests/libqtest: Fix possible deadlock in qtest initialization

Stefan Hajnoczi (1):
  tests: Tweak the Makefile to produce per-test output.

 tests/Makefile   |  2 +-
 tests/libqtest.c | 11 +++++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-11 12:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11 12:24 [Qemu-devel] [PATCH V3 0/2] tests: Fix possible deadlock in qtest initialization Marcel Apfelbaum
2014-03-11 12:24 ` [Qemu-devel] [PATCH V3 1/2] tests/libqtest: " Marcel Apfelbaum
2014-03-11 12:24 ` [Qemu-devel] [PATCH V3 2/2] tests: Tweak the Makefile to produce per-test output Marcel Apfelbaum
2014-03-11 12:32 ` [Qemu-devel] [PATCH V3 0/2] tests: Fix possible deadlock in qtest initialization Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).