aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/openbsd/target_os_elf.h
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2023-12-21 18:43:16 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-12-26 04:51:07 -0500
commit7627f0a2de31852483babdffded8f0d59e515f91 (patch)
treeec36e77a640ebc9d45ebe487081b9576d4598bdc /bsd-user/openbsd/target_os_elf.h
parentf12b2498e561ddf9ab45940deb15ef1bb046f699 (diff)
downloadqemu-7627f0a2de31852483babdffded8f0d59e515f91.zip
qemu-7627f0a2de31852483babdffded8f0d59e515f91.tar.gz
qemu-7627f0a2de31852483babdffded8f0d59e515f91.tar.bz2
vdpa: move iotlb_batch_begin_sent to vhost_vdpa_shared
Next patches will register the vhost_vdpa memory listener while the VM is migrating at the destination, so we can map the memory to the device before stopping the VM at the source. The main goal is to reduce the downtime. However, the destination QEMU is unaware of which vhost_vdpa device will register its memory_listener. If the source guest has CVQ enabled, it will be the CVQ device. Otherwise, it will be the first one. Move the iotlb_batch_begin_sent member to VhostVDPAShared so all vhost_vdpa can use it, rather than always in the first / last vhost_vdpa. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20231221174322.3130442-8-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 'bsd-user/openbsd/target_os_elf.h')
0 files changed, 0 insertions, 0 deletions