Re: [Qemu-devel] [PATCH v1 2/3] user-exec: handle synchronous signals from QEMU gracefully

2017-03-20 Thread Richard Henderson
On 03/21/2017 01:34 AM, Alex Bennée wrote: When "tcg: enable thread-per-vCPU" (commit 3725794) was merged the lifetime of current_cpu was changed. Previously a broken linux-user call might abort() which can eventually escalate into a SIGSEGV which would then crash qemu as it attempted to deref a

[Qemu-devel] [PATCH v1 2/3] user-exec: handle synchronous signals from QEMU gracefully

2017-03-20 Thread Alex Bennée
When "tcg: enable thread-per-vCPU" (commit 3725794) was merged the lifetime of current_cpu was changed. Previously a broken linux-user call might abort() which can eventually escalate into a SIGSEGV which would then crash qemu as it attempted to deref a NULL current_cpu. After commit 3725794 it