[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH V2 0/2] tests: Fix possible deadlock in qtest initia
From: |
Marcel Apfelbaum |
Subject: |
[Qemu-devel] [PATCH V2 0/2] tests: Fix possible deadlock in qtest initialization |
Date: |
Tue, 11 Mar 2014 12:09:08 +0200 |
V1 -> V2:
Addressed Stefan Hajnoczi's review:
- Dropped qtest_state_valid API
- Moved socket options in socket_accept.
'socket_accept' waits for Qemu to init 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 asert 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 | 9 ++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
--
1.8.3.1
- [Qemu-devel] [PATCH V2 0/2] tests: Fix possible deadlock in qtest initialization,
Marcel Apfelbaum <=
[Qemu-devel] [PATCH V2 2/2] tests: Tweak the Makefile to produce per-test output., Marcel Apfelbaum, 2014/03/11