summary refs log tree commit diff stats
path: root/include/hw/virtio/vhost-vdpa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/virtio/vhost-vdpa.h')
-rw-r--r--include/hw/virtio/vhost-vdpa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hw/virtio/vhost-vdpa.h b/include/hw/virtio/vhost-vdpa.h
index 0a9575b469..221840987e 100644
--- a/include/hw/virtio/vhost-vdpa.h
+++ b/include/hw/virtio/vhost-vdpa.h
@@ -51,6 +51,12 @@ typedef struct vhost_vdpa_shared {
 
     bool iotlb_batch_begin_sent;
 
+    /*
+     * The memory listener has been registered, so DMA maps have been sent to
+     * the device.
+     */
+    bool listener_registered;
+
     /* Vdpa must send shadow addresses as IOTLB key for data queues, not GPA */
     bool shadow_data;