vhost: move and rename the conn retry times
authorLi Feng <fengli@smartx.com>
Mon, 9 Oct 2023 04:46:58 +0000 (12:46 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 22 Oct 2023 09:18:17 +0000 (05:18 -0400)
commit4dfcc09f48c4f81a9a4e2300065edbe6b589a6ce
treea9dee1cf380e42f63031a280a08e260e08536f8c
parentf7bd1437ba877e6509fff2b5ffce82500bc79559
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>
hw/block/vhost-user-blk.c
hw/virtio/vhost-user-gpio.c
include/hw/virtio/vhost.h