From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Suspending with kvm and kvm_loaded Date: Sun, 17 Jun 2007 11:59:46 +0300 Message-ID: <4674F802.4010604@qumranet.com> References: <1181912175.4819.15.camel@work> <4673970B.3070509@qumranet.com> <1181989774.2309.0.camel@work> <20070616123025.GO4299@rhun.haifa.ibm.com> <1182014428.2309.10.camel@work> <4674DC6F.4020108@qumranet.com> <1182069247.2324.6.camel@work> <4674EC81.3080203@qumranet.com> <1182071949.2879.3.camel@work> <20070617084132.GA10150@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, pcfe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org To: veillard-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org Return-path: In-Reply-To: <20070617084132.GA10150-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Daniel Veillard wrote: > Well if there were a way to discover running KVM instances and > communicate with them, then we wouldn't need to keep a daemon as a > parent process for libvirt access and control. It's a point I would > love to see solved at the QEmu level, but it's not really urgent :-) > You can set the qemu monitor socket to a unix domain socket in some well-known directory, and enumerate virtual machines by readdiring that directory and trying to connect. Of course that only works for qemu processes started by libvirt, not random qemu processes. (and I wish there was an SO_UNLINKONCLOSE option that could racelessly garbage collect those dead sockets) I still think having a daemon is a good idea; it can collect events generated by qemu and possibly act on them. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/