Re: [PATCH for 9.0 02/12] vdpa: make batch_begin_once early return

2023-12-19 Thread Jason Wang
On Sat, Dec 16, 2023 at 1:28 AM Eugenio Pérez wrote: > > Prefer early return so it is easier to merge > vhost_vdpa_listener_begin_batch here and make iotlb baches begin and end > symmetrical. > > Signed-off-by: Eugenio Pérez Acked-by: Jason Wang Thanks > --- > hw/virtio/vhost-vdpa.c | 7

[PATCH for 9.0 02/12] vdpa: make batch_begin_once early return

2023-12-15 Thread Eugenio Pérez
Prefer early return so it is easier to merge vhost_vdpa_listener_begin_batch here and make iotlb baches begin and end symmetrical. Signed-off-by: Eugenio Pérez --- hw/virtio/vhost-vdpa.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio