mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Revert "vhost-user: add support reconnect for vhost-user ports"
This reverts commit edaf4ebe95.
This uses "reconnect" as attribute for <source> element, but we already
have a <reconnect> element for <source> 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 <phrdina@redhat.com>
This commit is contained 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
|
||||
<code><model></code> element is mandatory.
|
||||
<span class="since">Since 3.7.0</span> the element has an optional
|
||||
attribute <code>reconnect</code> which configures reconnect timeout
|
||||
(in seconds) if the connection is lost.
|
||||
</p>
|
||||
|
||||
<h5><a id="elementNwfilter">Traffic filtering with NWFilter</a></h5>
|
||||
|
||||
Reference in New Issue
Block a user