From: Ian Campbell Subject: Re: [xen-unstable test] 10481: regressions - FAIL Date: Tue, 13 Dec 2011 15:46:07 +0000 Message-ID: <1323791167.20077.339.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> <1323789533.20077.326.camel@zakaz.uk.xensource.com> <20199.27949.795096.263945@mariner.uk.xensource.com> <1323789881.20077.330.camel@zakaz.uk.xensource.com> <20199.28556.518715.556159@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.28556.518715.556159@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:30 +0000, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 10481: regressions - FAIL"): > > On Tue, 2011-12-13 at 15:20 +0000, Ian Jackson wrote: > > > Fair enough. It's not going to make the test pass though :-). > > > > Makes the test buggy though :-P > > As discussed, I think that "xl shutdown" should work and therefore the > test is not broken. "xl shutdown" is currently behaving precisely as documented. Setting aside the complexity of implementing the behaviour you desire playing tricks with turning power button derived reboots into shutdowns and vice versa "xl shutdown" cannot work reliably because the guest can perform effectively arbitrary actions on power button press, doing nothing is one option and suspend/hibernation is the other common reaction which we certainly do not want to trigger when attempting to shutdown or reboot. In short I don't think the behaviour you desire is ever going to happen. This test failure is preventing us from testing a much more interesting scenario, specifically HVM guest migration. Ian.