From: Ian Campbell Subject: Re: [xen-unstable test] 10481: regressions - FAIL Date: Tue, 13 Dec 2011 14:51:26 +0000 Message-ID: <1323787886.20077.314.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20199.26051.761880.513100@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 14:48 +0000, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 10481: regressions - FAIL"): > > The choices are (omitting the ia64 only ones): > > xen/include/public/domctl.h:#define XEN_DOMCTL_SENDTRIGGER_NMI 0 > > xen/include/public/domctl.h:#define XEN_DOMCTL_SENDTRIGGER_POWER 3 > > xen/include/public/domctl.h:#define XEN_DOMCTL_SENDTRIGGER_SLEEP 4 > > > > Of those I think POWER is the only appropriate one and we have no > > control over what it will actually do. > > Right. > > > > At the moment it doesn't work at all without pv drivers. > > I think it would be better for "xl shutdown" to send a power button > event than to do nothing and print an error message. > > > You can explicitly ask for a power button event with "xl button-press". > > At a minimum the error message should point to this in preference to > > destroy. > > That would be a better improvement. So which do you prefer? An error message pointing to "xl button-press" or sending the button press? Ian. > > > You can also send the same event with "xl trigger". Quite why we need > > two ways to do this I've no idea... > > Hmmm. > > Ian.