qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about scsi device hotplug (e.g scsi-hd)


From: Paolo Bonzini
Subject: Re: Question about scsi device hotplug (e.g scsi-hd)
Date: Fri, 3 Apr 2020 15:51:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 03/04/20 15:45, Markus Armbruster wrote:
> Stefan Hajnoczi <address@hidden> writes:
> 
> [...]
>> It would be nice to have a general solution in qdev core that makes
>> thread-safe hotplug easy for all devices.
> Excuse my ignorance / confusion...
> 
> The "realize" concept exists to enable
> 
>     create device
>     configure / wire up step by step without impact on the guest
>     realize, device becomes "real" atomically
> 
> How and why does this break down with threads?

After more discussions with Maxim, it's a bug in the SCSI layer.  It
looks for devices without checking that they have been realized.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]