Re: [virtio-dev] RE: [PATCH v3 6/6] vhost-user: support registering external host notifiers

From
Paolo Bonzini <>
Date
2018-04-19T17:36:05+00:00
ID
Thread
Re: [virtio-dev] RE: [PATCH v3 6/6] vhost-user: support registering external host notifiers
On 19/04/2018 19:27, Michael S. Tsirkin wrote:
> 
> That CONFIG_SMP here is clearly wrong but I don't really know what
> to set it to. Also, we probably should switch virtio_wmb to dma_XX
> barriers.
> 
> That's actually easy. Will try to do.

Should it be dma_wmb() before updating the indices, and wmb() before
writing the "kick virtqueue" register?

Paolo