From: Ian Campbell Subject: Re: guests started with xl create -V have no monitoring process Date: Thu, 3 Oct 2013 14:41:19 +0100 Message-ID: <1380807679.25618.12.camel@kazak.uk.xensource.com> References: <20130927091047.GA1800@aepfle.de> <1380277061.29483.179.camel@kazak.uk.xensource.com> <20130927125306.GA4048@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130927125306.GA4048@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering , Ian Jackson Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2013-09-27 at 14:53 +0200, Olaf Hering wrote: > On Fri, Sep 27, Ian Campbell wrote: > > > On Fri, 2013-09-27 at 11:10 +0200, Olaf Hering wrote: > > > The following command leaves no xl monitoring process for the domU. The > > > result is that shutdown for this guest is not working properly, there is > > > always a stale domid left behind: > > > > > > xl -v create -V -d -f some.cfg < /dev/null & > > > > > > Removing the -V option is a workaround. This happens with 4.3 and is not > > > fixed in master. > > > > The placement of > > if (dom_info->vnc) > > vncviewer(domid, vncautopass); > > seems pretty bogus, given that function exec()s without forking! > > > > Does this help? Build tested only. > > Yes, that works. Thanks. Thanks, I'll translate that into a Tested-by. Ideally we'd also wait for an Ack from Ian J (since he understands all this forking infra), but he's away so I've gone ahead and committed. We can always revert if it turns out to be wrong. Ian.