From: Ian Campbell Subject: Re: [xen-unstable test] 10481: regressions - FAIL Date: Tue, 13 Dec 2011 15:18:53 +0000 Message-ID: <1323789533.20077.326.camel@zakaz.uk.xensource.com> References: <1323769464.20077.262.camel@zakaz.uk.xensource.com> <20199.14342.599850.739029@mariner.uk.xensource.com> <1323785260.20077.307.camel@zakaz.uk.xensource.com> <20199.24357.180937.882607@mariner.uk.xensource.com> <1323786461.20077.312.camel@zakaz.uk.xensource.com> <20199.26051.761880.513100@mariner.uk.xensource.com> <1323787886.20077.314.camel@zakaz.uk.xensource.com> <20199.26388.187010.379029@mariner.uk.xensource.com> <1323788535.20077.321.camel@zakaz.uk.xensource.com> <20199.27104.948333.593110@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20199.27104.948333.593110@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tue, 2011-12-13 at 15:06 +0000, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 10481: regressions - FAIL"): > > Just to clarify a bit further: do you think libxl_domain_shutdown should > > implement this fallback or should it be left to xl to do? > > I'm not sure. > > > Shall "xl reboot"/libxl_domain_reboot do the same? > > Yes. > > Putting those things together, it seems to me that something needs to > know that "reboot" or "shutdown" are being simulated with the power > button. I think this requires deferring the fallback to xl. Which makes sense since other toolstacks may have other policies in this regard. > That's so that if you say "reboot" or "shutdown" and we press the > guest's power button, we know whether, when the guest does shut down, > whether we actually want to restart it. That would involve potentially communicating with the daemonized version of xl which is monitoring the domain (if it exists) and/or taking over it's function in the xl instance running the shutdown. I'm tempted to just go with the minimal improvement at this stage. Ian.