virtio-devices: vhost_user: Retry connecting the backend

When in client mode, the VMM will retry connecting the backend for a
minute before giving up.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2021-06-01 17:45:00 +02:00
parent b4eb015d86
commit 48c8649891
2 changed files with 26 additions and 5 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ pub enum Error {
/// Failed to open vhost device.
VhostUserOpen(VhostError),
/// Connection to socket failed.
VhostUserConnect(vhost::Error),
VhostUserConnect,
/// Get features failed.
VhostUserGetFeatures(VhostError),
/// Get queue max number failed.