[PATCH 0/3] qemu: handle connect hangs in virDomainOpenChannel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The problem is described in [1] in more details. From libvirt perspective we
have whole driver became unresponsive if connect to channel unix socket hangs
during virDomainOpenChannel. This series address this by first using job for
the API call and second by introducing connect timeout so that domain itself
don't became unresponsive indefinetily.

[1] http://lists.nongnu.org/archive/html/qemu-devel/2017-11/msg03013.html

Nikolay Shirokovskiy (3):
  util: virFDStreamConnectUNIX: add missing error report
  util: add 30s connection timeout to virFDStreamConnectUNIX
  qemu: use job to keep driver responsive on qemuDomainOpenChannel

 src/qemu/qemu_driver.c | 11 ++++++++++
 src/util/virfdstream.c | 18 +++++++++++++++
 src/util/virutil.c     | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/util/virutil.h     |  2 ++
 4 files changed, 90 insertions(+)

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux