conf: introduce reconnect element for chardev source

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina committed 2017-08-29 10:30:05 +02:00
1 parent 5f7da98b3f
commit 9aa72a6dd5
4 files changed
+145 -8

No files matched your search

+11
View File
@@ -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>
+12
View File
@@ -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>