From: Ian Campbell Subject: Re: [OSSTEST PATCH 12/13] ts-guest-destroy-hard: New script Date: Wed, 16 Jul 2014 10:24:08 +0100 Message-ID: <1405502648.7019.11.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X7LRc-0001nF-24 for xen-devel@lists.xenproject.org; Wed, 16 Jul 2014 09:24:12 +0000 In-Reply-To: <1405437747-12753-13-git-send-email-ian.jackson@eu.citrix.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 Tue, 2014-07-15 at 16:22 +0100, Ian Jackson wrote: > This just calls xl destroy; it doesn't check that the guest is > running, or on the network, or anything. (It also doesn't check that > the guest is down afterwards.) > > 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? > > Signed-off-by: Ian Jackson > --- > ts-guest-destroy-hard | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100755 ts-guest-destroy-hard > > 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