[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: |
Wed, 1 Apr 2020 18:36:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
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.
Paolo
signature.asc
Description: OpenPGP digital signature