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

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Thu Nov 16 15:04:29 UTC 2017


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




More information about the libvir-list mailing list