[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: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] Re: lsi: Handle removal of selected devices |
Date: |
Fri, 21 May 2010 18:18:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Aurelien Jarno wrote:
> 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/
>
Ah, perfect. Will have a look.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux