From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [autotest] vm creation fails (not) Date: Thu, 06 Aug 2009 13:23:35 +0300 Message-ID: <4A7AAF27.7060401@redhat.com> References: <652539210.1527861249498060856.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Gerd Hoffmann , KVM list To: Michael Goldish Return-path: Received: from mx2.redhat.com ([66.187.237.31]:60820 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbZHFKSA (ORCPT ); Thu, 6 Aug 2009 06:18:00 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n76AI2fI025769 for ; Thu, 6 Aug 2009 06:18:02 -0400 In-Reply-To: <652539210.1527861249498060856.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/05/2009 09:47 PM, Michael Goldish wrote: > > I can find out if the parent process is alive by checking a lock file. > A little while ago I couldn't afford to do that in is_alive() because > it would cause a deadlock, but now this shouldn't be a problem. > I'll test it and if it works it'll greatly simplify is_alive(). > If you can't be the parent of the VM (I guess it needs to survive tests), set up a daemon to be the parent and communicate with it over unix domain sockets. -- error compiling committee.c: too many arguments to function