[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: lsi: Handle removal of selected devices
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] Re: lsi: Handle removal of selected devices |
Date: |
Fri, 21 May 2010 18:17:36 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Fri, May 21, 2010 at 05:49:26PM +0200, Aurelien Jarno wrote:
> This patch:
>
> 64d564094cac5f72eeaeb950c442b773a00d3586 is the first bad commit
> commit 64d564094cac5f72eeaeb950c442b773a00d3586
> Author: Jan Kiszka <address@hidden>
> Date: Tue May 4 14:21:03 2010 +0200
>
> lsi: Handle removal of selected devices
>
> We must not store references to selected devices as they may be
> hot-removed. Instead, look up the device based on its tag right before
> using it. If the device disappeared, throw an interrupt and disconnect.
>
> Signed-off-by: Jan Kiszka <address@hidden>
> Signed-off-by: Anthony Liguori <address@hidden>
>
> breaks the versatile machine. qemu-system-arm segfaults during the boot.
Actually it only seems to be the case with old kernels. I have put the
material to reproduce the bug here:
http://temp.aurel32.net/qemu-versatile/
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net