Re: [PATCH] virtio: notify virtqueue via host notifier when available

2019-11-05 Thread Stefan Hajnoczi
On Thu, Oct 24, 2019 at 11:30:31AM +0800, Yongji Xie wrote: > On Mon, 21 Oct 2019 at 19:40, Stefan Hajnoczi wrote: > > > > Host notifiers are used in several cases: > > 1. Traditional ioeventfd where virtqueue notifications are handled in > >the main loop thread. > > 2. IOThreads (aio_handle_o

Re: [PATCH] virtio: notify virtqueue via host notifier when available

2019-10-23 Thread Yongji Xie
On Mon, 21 Oct 2019 at 19:40, Stefan Hajnoczi wrote: > > Host notifiers are used in several cases: > 1. Traditional ioeventfd where virtqueue notifications are handled in >the main loop thread. > 2. IOThreads (aio_handle_output) where virtqueue notifications are >handled in an IOThread Aio

[PATCH] virtio: notify virtqueue via host notifier when available

2019-10-21 Thread Stefan Hajnoczi
Host notifiers are used in several cases: 1. Traditional ioeventfd where virtqueue notifications are handled in the main loop thread. 2. IOThreads (aio_handle_output) where virtqueue notifications are handled in an IOThread AioContext. 3. vhost where virtqueue notifications are handled by ker