[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] virtio: abort on fatal error instead of just ex
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH] virtio: abort on fatal error instead of just exiting |
Date: |
Tue, 28 Jun 2016 12:42:23 +0200 |
On Tue, 28 Jun 2016 10:24:29 +0200
Igor Mammedov <address@hidden> wrote:
> replace mainly useless exit(1) on fatal error path with
> abort(), so that it would be possible to generate core
> dump, that could be used to analyse cause of problem.
>
> Signed-off-by: Igor Mammedov <address@hidden>
> ---
> hw/virtio/virtio.c | 24 ++++++++++++------------
> 1 file changed, 12 insertions(+), 12 deletions(-)
There had been https://marc.info/?l=qemu-devel&m=146046754901035&w=2
which instead marks devices as broken; but I don't think there has been
progress since then.
Switching to abort() might be a stop-gap solution so we can at least
analyze what went bad, so
Acked-by: Cornelia Huck <address@hidden>