From: Iordan Iordanov Subject: Re: kvm monitor socket - connection refused Date: Wed, 29 Jun 2011 14:06:54 -0400 Message-ID: <4E0B69BE.5030608@cdf.toronto.edu> References: <4E0A297E.7080802@cdf.toronto.edu> <4E0A55B3.4050605@msgid.tls.msk.ru> <4E0B42D5.7070202@cdf.toronto.edu> <4E0B4A39.9040900@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Michael Tokarev Return-path: Received: from penguin.cdf.utoronto.ca ([128.100.31.106]:53436 "HELO smtp.cdf.toronto.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754409Ab1F2SGz (ORCPT ); Wed, 29 Jun 2011 14:06:55 -0400 In-Reply-To: <4E0B4A39.9040900@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: Hi Michael, On 06/29/11 11:52, Michael Tokarev wrote: > The only other explanation I can think of is that you tried > to run two instances of kvm, and when second instance initialized > it re-created the monitor socket but failed later (eg, when > initin network or something else) and exited, but left the > "stray" socket (JFYI, you can remove a unix-domain socket > where some process is listening, and create another - that > one will really be different socket, even if named the same > way, -- just like you can re-create a plain file the same > way). This may have been what happened. I'll try to reproduce this scenario. Is there no way to prevent the accidental overwriting of a monitor socket that is still being used? I.e. is there no way for kvm to realize that the socket is in use and complain? > > In any way, there hasn't been any problems/bugs in that area > for ages. This is what I was hoping to hear! :) Thanks! Iordan