Re: [RFC v2 7/7] vhost: Route host->guest notification through shadow virtqueue

2021-03-02 Thread Eugenio Perez Martin
On Mon, Mar 1, 2021 at 7:24 AM Jason Wang wrote: > > > On 2021/2/9 11:37 下午, Eugenio Pérez wrote: > > Signed-off-by: Eugenio Pérez > > --- > > hw/virtio/vhost-shadow-virtqueue.h | 2 ++ > > hw/virtio/vhost-shadow-virtqueue.c | 49 ++ > > hw/virtio/vhost.c

Re: [RFC v2 7/7] vhost: Route host->guest notification through shadow virtqueue

2021-02-28 Thread Jason Wang
On 2021/2/9 11:37 下午, Eugenio Pérez wrote: Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.h | 2 ++ hw/virtio/vhost-shadow-virtqueue.c | 49 ++ hw/virtio/vhost.c | 5 ++- 3 files changed, 55 insertions(+), 1 deletion(-)

Re: [RFC v2 7/7] vhost: Route host->guest notification through shadow virtqueue

2021-02-17 Thread Eugenio Perez Martin
On Wed, Feb 17, 2021 at 6:24 PM Stefan Hajnoczi wrote: > > On Tue, Feb 09, 2021 at 04:37:57PM +0100, Eugenio Pérez wrote: > > @@ -40,6 +42,26 @@ static void vhost_handle_guest_kick(EventNotifier *n) > > } > > } > > > > +/* Forward vhost notifications */ > > +static void

Re: [RFC v2 7/7] vhost: Route host->guest notification through shadow virtqueue

2021-02-17 Thread Stefan Hajnoczi
On Tue, Feb 09, 2021 at 04:37:57PM +0100, Eugenio Pérez wrote: > @@ -40,6 +42,26 @@ static void vhost_handle_guest_kick(EventNotifier *n) > } > } > > +/* Forward vhost notifications */ > +static void vhost_handle_call(EventNotifier *n) The name vhost_shadow_vq_handle_call() expresses the

[RFC v2 7/7] vhost: Route host->guest notification through shadow virtqueue

2021-02-09 Thread Eugenio Pérez
Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.h | 2 ++ hw/virtio/vhost-shadow-virtqueue.c | 49 ++ hw/virtio/vhost.c | 5 ++- 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/hw/virtio/vhost-shadow-virtqueue.h