From: "Jan Beulich" Subject: Re: ACPI shutdown unreliable with win7? Date: Fri, 29 May 2015 14:04:56 +0100 Message-ID: <55688018020000780007F06C@mail.emea.novell.com> References: <1432284841.10746.136.camel@citrix.com> <555EEFD8.8020306@citrix.com> <1432285699.10746.147.camel@citrix.com> <1432904091.15036.27.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1432904091.15036.27.camel@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , Ian Campbell Cc: Paul Durrant , Ian Jackson , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 29.05.15 at 14:54, wrote: > On Fri, 2015-05-22 at 10:08 +0100, Ian Campbell wrote: >> If win7 doesn't shutdown given a power button request I'd be more >> inclined to remove the setting in osstest for those flights and let >> guest-stop go back to being never pass than to start making such changes >> to the VM config which I think would probably break the preceding >> suspend and migration tests (which aren't completely reliable, but are >> far more so than this shutdown one). > > Does anyone have any ideas here or shall I propose: Unless we have a way to make an adjustment inside the guest for the power button to gain "shutdown" meaning, I think there's no alternative to the change below. Jan > -----8>-------------- > > From 2d1b814e65676c3cf56ce2e569491953607f53f7 Mon Sep 17 00:00:00 2001 > From: Ian Campbell > Date: Fri, 29 May 2015 13:51:33 +0100 > Subject: [PATCH] Turn off acpi_shutdown for windows 7 > > As described in <1432284841.10746.136.camel@citrix.com> / > http://lists.xen.org/archives/html/xen-devel/2015-05/msg03016.html > Windows 7 does not appear to reliably actually shutdown when asked to > via the ACPI power button. > > Once this patch is applied some force pushes will likely be needed in > order for this to not appear as a regression. > > Signed-off-by: Ian Campbell > Cc: Andrew Cooper > Cc: Paul Durrant > Cc: Ian Jackson , > Cc: Jan Beulich > --- > Alternatively could make it an allowed/non-blocking failure? > --- > make-flight | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/make-flight b/make-flight > index 8a1fceb..5120891 100755 > --- a/make-flight > +++ b/make-flight > @@ -206,7 +206,6 @@ do_hvm_win7_x64_tests () { > job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-win7-amd64 \ > test-win xl $xenarch $dom0arch $qemuu_runvar \ > win_image=win7-x64.iso \ > - win_acpi_shutdown=true \ > all_hostflags=$most_hostflags,hvm > } > > -- > 2.1.4