mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
conf: introduce reconnect element for chardev source
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
1 parent
5f7da98b3f
commit
9aa72a6dd5
4 files changed
+145
-8
No files matched your search
@@ -6298,6 +6298,17 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
slot.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For character device with type <code>unix</code> or <code>tcp</code>
|
||||
the <code>source</code> has an optional element <code>reconnect</code>
|
||||
which configures reconnect timeout if the connection is lost.
|
||||
There are two attributes, <code>enabled</code> where possible
|
||||
values are "yes" and "no" and <code>timeout</code> which is in
|
||||
seconds. The <code>reconnect</code> attribute is valid only
|
||||
for <code>connect</code> mode.
|
||||
<span class="since">Since 3.7.0 (QEMU driver only)</span>.
|
||||
</p>
|
||||
|
||||
<h5><a id="elementsCharGuestInterface">Guest interface</a></h5>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -3634,6 +3634,18 @@
|
||||
<ref name="virYesNo"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="reconnect">
|
||||
<attribute name="enabled">
|
||||
<ref name="virYesNo"/>
|
||||
</attribute>
|
||||
<optional>
|
||||
<attribute name="timeout">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
</element>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<ref name='devSeclabel'/>
|
||||
</zeroOrMore>
|
||||
|
||||
Reference in new issue
Block a user