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

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

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(+)


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