From: Ian Campbell Subject: Re: [OSSTEST PATCH 12/13] ts-guest-destroy-hard: New script Date: Wed, 16 Jul 2014 11:12:29 +0100 Message-ID: <1405505549.7019.51.camel@kazak.uk.xensource.com> References: <1405437747-12753-1-git-send-email-ian.jackson@eu.citrix.com> <1405437747-12753-13-git-send-email-ian.jackson@eu.citrix.com> <1405502648.7019.11.camel@kazak.uk.xensource.com> <21446.20402.356946.621845@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X7MCP-0005xf-OP for xen-devel@lists.xenproject.org; Wed, 16 Jul 2014 10:12:33 +0000 In-Reply-To: <21446.20402.356946.621845@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-07-16 at 11:10 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [OSSTEST PATCH 12/13] ts-guest-destroy-hard: New script"): > > On Tue, 2014-07-15 at 16:22 +0100, Ian Jackson wrote: > > > We are going to want this to be able to destroy the rumpuserxen > > > xenstorels domain, which is short-lived (and will normally have > > > terminated by the time we want to destroy it). > > > > You could use on_poweroff=preserve to avoid racing with that? > > No, because it still insists that the guest is up and responding to > pings etc. Ah, I was thinking of the other thing which jut parses xl list to see if it exists and in what state. > > > > diff --git a/ts-guest-destroy-hard b/ts-guest-destroy-hard > > > new file mode 100755 > > > index 0000000..5c2430c > > > --- /dev/null > > > +++ b/ts-guest-destroy-hard > > > @@ -0,0 +1,27 @@ > > > +#!/usr/bin/perl -w > > > +# This is part of "osstest", an automated testing framework for Xen. > > > +# Copyright (C) 2009-2013 Citrix Inc. > > > > Out of date > > Will fix. > > Thanks, > Ian.