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

2019-11-07 Thread Felipe Franciosi
Thanks Stefan for the quick fix! Sorry for not adding a Tested-by. It's implicit. :) F. > On Nov 6, 2019, at 11:33 AM, Michael S. Tsirkin wrote: > > On Tue, Nov 05, 2019 at 03:09:46PM +0100, Stefan Hajnoczi wrote: >> Host notifiers are used in several cases: >> 1. Traditional ioeventfd where vi

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

2019-11-06 Thread Michael S. Tsirkin
On Tue, Nov 05, 2019 at 03:09:46PM +0100, 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 IOT

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

2019-11-06 Thread Stefan Hajnoczi
On Tue, Nov 05, 2019 at 03:09:46PM +0100, 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 IOT

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

2019-11-05 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