On Thu, Nov 23, 2023 at 02:49:29PM -0500, Stefan Hajnoczi wrote: > virtio_queue_aio_attach_host_notifier() does not require the AioContext > lock. Stop taking the lock and remember add an explicit smp_wmb()
s/remember// ? > because we were relying on the implicit barrier in the AioContext lock > before. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > hw/scsi/virtio-scsi-dataplane.c | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org