]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: implement chardev source reconnect
authorPavel Hrdina <phrdina@redhat.com>
Fri, 25 Aug 2017 16:57:15 +0000 (18:57 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 29 Aug 2017 08:30:05 +0000 (10:30 +0200)
commit3ba6b532d11736fe82fedd53244f3c334e911b7c
tree7829d1fd95d0abeb766970259e26abac82ad87e4
parent95fd63b1700d7b68dc732e957fb9d70fee55e99e
qemu: implement chardev source reconnect

The reconnect attribute for chardev devices in QEMU is used to
configure the reconnect timeout in seconds.  Setting '0' value disables
the reconnect functionality thus we don't allow to set '0' for QEMU.
To disable the reconnect user should use <reconnect enabled='no'/>.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1254971

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c