diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2025-05-22 10:58:35 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-06-02 14:29:15 -0400 |
commit | 32f0c7ce4c948b2e275dca3cf7fa2a00677b9c1d (patch) | |
tree | 1658bef940925c446d0db85329bdff065c03375c /python | |
parent | 3312e6c8c9aa8f32019f14c74d209db17b9306eb (diff) | |
download | qemu-32f0c7ce4c948b2e275dca3cf7fa2a00677b9c1d.zip qemu-32f0c7ce4c948b2e275dca3cf7fa2a00677b9c1d.tar.gz qemu-32f0c7ce4c948b2e275dca3cf7fa2a00677b9c1d.tar.bz2 |
vdpa: set backend capabilities at vhost_vdpa_init
The backend does not reset them until the vdpa file descriptor is closed
so there is no harm in doing it only once.
This allows the destination of a live migration to premap memory in
batches, using VHOST_BACKEND_F_IOTLB_BATCH.
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <20250522145839.59974-4-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions