Will be used in next patches.
Signed-off-by: Si-Wei Liu <[email protected]>
---
include/hw/virtio/vhost-vdpa.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/hw/virtio/vhost-vdpa.h b/include/hw/virtio/vhost-vdpa.h
index 7b8d3bf..0fe0f60 100644
--- a/include/hw/virtio/vhost-vdpa.h
+++ b/include/hw/virtio/vhost-vdpa.h
@@ -72,6 +72,12 @@ typedef struct vhost_vdpa_shared {
bool shadow_data;
unsigned refcnt;
+
+ /* SVQ switching is in progress? 1: turn on SVQ, -1: turn off SVQ */
+ int svq_switching;
+
+ /* Flush mappings on reset due to shared address space */
+ bool flush_map;
} VhostVDPAShared;
typedef struct vhost_vdpa {
--
1.8.3.1