diff options
| author | Eugenio Pérez <eperezma@redhat.com> | 2023-03-03 18:24:32 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-03-07 12:38:59 -0500 |
| commit | 00ef422e9fbfef1fb40447b08826db0951d788dd (patch) | |
| tree | f05b10e91402103e4cfbd0a543a01c7680250e94 /hw/virtio/vhost-shadow-virtqueue.c | |
| parent | 2133e07c4ca1d0befa382e557d2f6b38c77ed689 (diff) | |
| download | focaccia-qemu-00ef422e9fbfef1fb40447b08826db0951d788dd.tar.gz focaccia-qemu-00ef422e9fbfef1fb40447b08826db0951d788dd.zip | |
vdpa net: move iova tree creation from init to start
Only create iova_tree if and when it is needed. The cleanup keeps being responsible for the last VQ but this change allows it to merge both cleanup functions. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20230303172445.1089785-2-eperezma@redhat.com> Tested-by: Lei Yang <leiyang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-shadow-virtqueue.c')
0 files changed, 0 insertions, 0 deletions