Re: [RFC PATCH v7 19/25] vhost: Add vhost_svq_inject

2022-04-18 Thread Eugenio Perez Martin
On Thu, Apr 14, 2022 at 11:10 AM Jason Wang wrote: > > On Thu, Apr 14, 2022 at 12:32 AM Eugenio Pérez wrote: > > > > This allows qemu to inject packets to the device without guest's notice. s/packets/buffers/ actually. > > Does it mean it can support guests without _F_ANNOUNCE? > Technically i

Re: [RFC PATCH v7 19/25] vhost: Add vhost_svq_inject

2022-04-14 Thread Jason Wang
On Thu, Apr 14, 2022 at 12:32 AM Eugenio Pérez wrote: > > This allows qemu to inject packets to the device without guest's notice. Does it mean it can support guests without _F_ANNOUNCE? > > This will be use to inject net CVQ messages to restore status in the > destination I guess for restorin

[RFC PATCH v7 19/25] vhost: Add vhost_svq_inject

2022-04-13 Thread Eugenio Pérez
This allows qemu to inject packets to the device without guest's notice. This will be use to inject net CVQ messages to restore status in the destination Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.h | 5 + hw/virtio/vhost-shadow-virtqueue.c | 179 +++