From: "Jan Beulich" Subject: Re: [xen-unstable test] 10481: regressions - FAIL Date: Tue, 13 Dec 2011 14:29:42 +0000 Message-ID: <4EE76F6602000078000675BC@nat28.tlf.novell.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20199.24357.180937.882607@mariner.uk.xensource.com> Content-Disposition: inline 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 Campbell , Ian Jackson Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 13.12.11 at 15:20, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 10481: regressions - > FAIL"): >> I was about half way through implementing this when it occurred to me >> that the reaction to a power button press is a guest OS option and can >> result in a shutdown, a reboot or even a suspend. >> >> Unless I'm mistaken? > > Firstly, aren't there several possible indications we could send, in > which case we pick one most likely to make the guest shut down ? > > Secondly, having the guest attempt to reboot is probably better than > simply shooting it in the head. (We could even intercept that and > have it be destroyed anyway.) That would be acceptable when picking between shutdown and reboot, but converting a guest attempt to suspend (to RAM) into shutdown certainly isn't. > At least this way if the user wants > graceful shutdown they can configure the guest to do a shutdown and > then xl shutdown will work. > > At the moment it doesn't work at all without pv drivers. Isn't that the way it is intended to be? Jan