qemu-e2k/include/hw/virtio
Eugenio Pérez f6fe3e333f vdpa: move memory listener 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 memory listener to a common place 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-14-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>
2023-12-26 04:51:07 -05:00
..
vdpa-dev.h
vhost-backend.h vhost: Add worker backend callouts 2023-12-25 11:34:55 -05:00
vhost-scsi-common.h vhost-user-scsi: support reconnect to backend 2023-10-22 05:18:17 -04:00
vhost-scsi.h
vhost-user-blk.h
vhost-user-device.h
vhost-user-fs.h
vhost-user-gpio.h
vhost-user-i2c.h
vhost-user-rng.h
vhost-user-scmi.h
vhost-user-scsi.h vhost-user-scsi: support reconnect to backend 2023-10-22 05:18:17 -04:00
vhost-user-vsock.h
vhost-user.h vhost-user: Interface for migration state transfer 2023-11-07 03:39:10 -05:00
vhost-vdpa.h vdpa: move memory listener to vhost_vdpa_shared 2023-12-26 04:51:07 -05:00
vhost-vsock-common.h
vhost-vsock.h
vhost.h include/hw/virtio/vhost.h: spelling fix: sate 2023-11-15 12:06:05 +03:00
virtio-access.h
virtio-balloon.h
virtio-blk-common.h
virtio-blk.h virtio-blk: add iothread-vq-mapping parameter 2023-12-21 22:49:28 +01:00
virtio-bus.h
virtio-crypto.h
virtio-dmabuf.h
virtio-gpu-bswap.h
virtio-gpu-pci.h
virtio-gpu-pixman.h
virtio-gpu.h virtio-gpu rutabaga support 2023-10-17 10:05:51 -04:00
virtio-input.h ui/input: Constify QemuInputHandler structure 2023-10-19 23:13:28 +02:00
virtio-iommu.h virtio-iommu: Implement set_iova_ranges() callback 2023-11-03 09:20:31 +01:00
virtio-md-pci.h
virtio-mem.h
virtio-mmio.h
virtio-net.h
virtio-pci.h hw/virtio: Add VirtioPCIDeviceTypeInfo::instance_finalize field 2023-11-27 15:27:39 +00:00
virtio-pmem.h
virtio-rng.h
virtio-scsi.h vhost-scsi: Add support for a worker thread per virtqueue 2023-12-25 11:34:55 -05:00
virtio-serial.h
virtio.h