D 2015-12-18T06:27:18.473 L QEMU\smonitor\son\sunix\sdomain\ssocket N text/x-markdown P 57ad59d6f6594419b4eab43ce31fef71c318e553 U vitus W 670 1. QEMU handles "address already in use" error, and successifully rebinds to socket, which is left in the filesystem by previous invocation. 2. Socket chardev should be created with nowait option, otherwise QEMU would wait until somebody connects to the socket before demonizing. Correct options to create socket **monitor** in the current directory: -chardev socket,server,nowait,path=monitor,id=monitor \ -mon chardev=monitor,mode=readline \ 3. QEMU doesn't handle EPIPE well, so if client want to disconnect and let other clients connect, it should shutdown the socket before closing. Otherwise next client might hang after connect. Z 321e42ebe9c7f549d86eb2ff74b64970