mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
vdpa: add listener_registered
Check if the listener has been registered or not, so it needs to be registered again at start. 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-5-jonah.palmer@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
32f0c7ce4c
commit
be2e5fbefa
2 changed files with 12 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue