From: Ian Campbell Subject: Re: Change on_poweroff while domain is running Date: Wed, 27 Nov 2013 12:44:40 +0000 Message-ID: <1385556280.23112.185.camel@kazak.uk.xensource.com> References: <20131127091256.GB4955@google.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 1VleU1-0006PW-55 for xen-devel@lists.xenproject.org; Wed, 27 Nov 2013 12:44:45 +0000 In-Reply-To: <20131127091256.GB4955@google.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: "Jose A. Lopes" Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, 2013-11-27 at 10:12 +0100, Jose A. Lopes wrote: > Is it possible to change the 'on_poweroff' attribute while a domain is running? > That is, without having to destroy the instance and creating it again. Using xl, not currently AFAIK. I can see how this might be useful though, so it's is something we could consider for 4.5, patches welcomed. I'd think that stashing the setting in xenstore and providing a command to change it, with the attendant watches in the xl monitoring daemon would be the way to go. It might also be useful to have a mechanism to have xl start monitoring a domain which it didn't just create, which would allow the daemon to be restarted e.g. on upgrade. Ian.