From 80740d9c66e377903adb553094f76944b4bd0dfd Mon Sep 17 00:00:00 2001
From: Pavel Hrdina
Date: Wed, 20 Sep 2017 15:59:18 +0200
Subject: [PATCH] Revert "vhost-user: add support reconnect for vhost-user
ports"
This reverts commit edaf4ebe95a5995585c8ab7bc5b92887286d4431.
This uses "reconnect" as attribute for element, but we already
have a element for element for chardev devices.
Since this is the same feature for different device it should be
presented in XML the same way.
Signed-off-by: Pavel Hrdina
---
docs/formatdomain.html.in | 5 +---
docs/schemas/domaincommon.rng | 5 ----
src/conf/domain_conf.c | 28 ++-----------------
.../qemuxml2argv-net-vhostuser-multiq.args | 2 +-
.../qemuxml2argv-net-vhostuser-multiq.xml | 2 +-
5 files changed, 5 insertions(+), 37 deletions(-)
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 1602ed3e95..9ce4620c65 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -5673,7 +5673,7 @@ qemu-kvm -net nic,model=? /dev/null
</interface>
<interface type='vhostuser'>
<mac address='52:54:00:3b:83:1b'/>
- <source type='unix' path='/tmp/vhost2.sock' mode='client' reconnect='10'/>
+ <source type='unix' path='/tmp/vhost2.sock' mode='client'/>
<model type='virtio'/>
<driver queues='5'/>
</interface>
@@ -5689,9 +5689,6 @@ qemu-kvm -net nic,model=? /dev/null
are supported.
vhost-user requires the virtio model type, thus the
<model> element is mandatory.
- Since 3.7.0 the element has an optional
- attribute reconnect which configures reconnect timeout
- (in seconds) if the connection is lost.