[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_in
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init() |
Date: |
Thu, 27 Mar 2014 14:36:13 +0100 |
On Thu, Mar 27, 2014 at 2:12 PM, Andreas Färber <address@hidden> wrote:
>> Before this patch, the libqtest API could theoretically support multiple
>> simultaneous instances of QTestState. This patch kills that option,
>> doesn't it?
>
> Ouch, I thought I had looked out for that...
>
>>
>> If yes: fine with me, we don't need it anyway.
>
> We do. Migration and ivshmem are examples that need two machines - might
> explain why my ivshmem-test was behaving unexpectedly.
>
> Apart from reverting, what are our options?
Argh, I wasn't aware some tests run with two separate instances.
We can implement more elaborate error handling, for example an
atexit(3)-style atabort mechanism. This way, each instance can get
its callback.
Stefan
- [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), (continued)
- [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Stefan Hajnoczi, 2014/03/13
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Marcel Apfelbaum, 2014/03/13
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Andreas Färber, 2014/03/13
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Markus Armbruster, 2014/03/27
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Andreas Färber, 2014/03/27
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Marcel Apfelbaum, 2014/03/27
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Stefan Hajnoczi, 2014/03/27
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Markus Armbruster, 2014/03/27
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(), Stefan Hajnoczi, 2014/03/27
- Re: [Qemu-devel] [PATCH 2/2] qtest: fix crash if SIGABRT during qtest_init(),
Stefan Hajnoczi <=
Re: [Qemu-devel] [PATCH 0/2] qtest: crash fix and improved "make check" output, Marcel Apfelbaum, 2014/03/13