[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about scsi device hotplug (e.g scsi-hd)
From: |
Markus Armbruster |
Subject: |
Re: Question about scsi device hotplug (e.g scsi-hd) |
Date: |
Thu, 02 Apr 2020 07:37:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Paolo Bonzini <address@hidden> writes:
> On 01/04/20 17:09, Stefan Hajnoczi wrote:
>>> What do you think about it?
>>
>> Maybe aio_disable_external() is needed to postpone device emulation
>> until after realize has finished?
>>
>> Virtqueue kick ioeventfds are marked "external" and won't be processed
>> while external events are disabled. See also
>> virtio_queue_aio_set_host_notifier_handler() ->
>> aio_set_event_notifier().
>
> Yes, I think Stefan is right.
Is this issue limited to SCSI devices?