Re: [PATCH] hw/virtio: Document *_should_notify() are called within rcu_read_lock()

2021-05-23 Thread Michael S. Tsirkin
On Thu, May 20, 2021 at 08:49:00AM +0200, Philippe Mathieu-Daudé wrote: > Such comments make reviewing this file somehow easier. > > Signed-off-by: Philippe Mathieu-Daudé ok but > --- > hw/virtio/virtio.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/virtio/virtio.c

[PATCH] hw/virtio: Document *_should_notify() are called within rcu_read_lock()

2021-05-20 Thread Philippe Mathieu-Daudé
Such comments make reviewing this file somehow easier. Signed-off-by: Philippe Mathieu-Daudé --- hw/virtio/virtio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index e02544b2df7..2b4c6c4b875 100644 --- a/hw/virtio/virtio.c +++