Re: [PATCH v7 01/12] vhost: stop transfer elem ownership in vhost_handle_guest_kick

2022-08-04 Thread Jason Wang
On Fri, Aug 5, 2022 at 2:29 AM Eugenio Pérez wrote: > > It was easier to allow vhost_svq_add to handle the memory. Now that we > will allow qemu to add elements to a SVQ without the guest's knowledge, > it's better to handle it in the caller. > > Signed-off-by: Eugenio Pérez Acked-by: Jason

[PATCH v7 01/12] vhost: stop transfer elem ownership in vhost_handle_guest_kick

2022-08-04 Thread Eugenio Pérez
It was easier to allow vhost_svq_add to handle the memory. Now that we will allow qemu to add elements to a SVQ without the guest's knowledge, it's better to handle it in the caller. Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-shadow-virtqueue.c | 10 -- 1 file changed, 4