aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorLi Feng <fengli@smartx.com>2023-10-09 12:46:58 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-10-22 05:18:17 -0400
commit4dfcc09f48c4f81a9a4e2300065edbe6b589a6ce (patch)
treea9dee1cf380e42f63031a280a08e260e08536f8c /include/hw
parentf7bd1437ba877e6509fff2b5ffce82500bc79559 (diff)
downloadqemu-4dfcc09f48c4f81a9a4e2300065edbe6b589a6ce.zip
qemu-4dfcc09f48c4f81a9a4e2300065edbe6b589a6ce.tar.gz
qemu-4dfcc09f48c4f81a9a4e2300065edbe6b589a6ce.tar.bz2
vhost: move and rename the conn retry times
Multiple devices need this macro, move it to a common header. Signed-off-by: Li Feng <fengli@smartx.com> Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com> Message-Id: <20231009044735.941655-3-fengli@smartx.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/virtio/vhost.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/virtio/vhost.h b/include/hw/virtio/vhost.h
index 00e0a66..5e8183f 100644
--- a/include/hw/virtio/vhost.h
+++ b/include/hw/virtio/vhost.h
@@ -8,6 +8,8 @@
#define VHOST_F_DEVICE_IOTLB 63
#define VHOST_USER_F_PROTOCOL_FEATURES 30
+#define VU_REALIZE_CONN_RETRIES 3
+
/* Generic structures common for any vhost based device. */
struct vhost_inflight {