> On December 24, 2016 at 10:12 AM Alexandre DERUMIER <aderum...@odiso.com> > wrote: > > > Just has done small test with a socat tunnel > > > > socat UNIX-LISTEN:/tmp/foo.sock,reuseaddr,fork TCP:8.8.8.8:1234 > > drive_mirror -n drive-scsi0 nbd:unix:/tmp/foo.sock:test > > > then it's hanging like before, because no reponse. (we can make a small > timeout to qmp response wait) > > then,we can kill socat, which is dropping the unix socket, and drive-mirror > abort and freeing qmp commands.
A nasty trick, but I suppose it gets the job done for now (until someone sends a patch upstream). Btw. before you go around killing socats: it has a `connect-timeout` option (which is almost surprising). _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel