virCommand: Properly handle POLLHUP
It is a good practise to set revents to zero before doing any poll(). Moreover, we should check if event we waited for really occurred or if any of fds we were polling on didn't encountered hangup. (cherry picked from commit 06b9c5b9)
Showing
想要评论请 注册 或 登录