All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Paul Durrant <paul.durrant@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: ACPI shutdown unreliable with win7?
Date: Fri, 29 May 2015 14:13:34 +0100	[thread overview]
Message-ID: <1432905214.15036.31.camel@citrix.com> (raw)
In-Reply-To: <55688018020000780007F06C@mail.emea.novell.com>

On Fri, 2015-05-29 at 14:04 +0100, Jan Beulich wrote:
> >>> On 29.05.15 at 14:54, <ian.campbell@citrix.com> 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.

The strange this is that it does work _sometimes_, either by complete
coincidence or because there is something non-deterministic about how
Win7 reacts to this ACPI event.

Does anyone know which setting we would want to change? In particular it
would be good if I knew what to look for to check the current status...

> 
> Jan
> 
> > -----8>--------------
> > 
> > From 2d1b814e65676c3cf56ce2e569491953607f53f7 Mon Sep 17 00:00:00 2001
> > From: Ian Campbell <ian.campbell@citrix.com>
> > 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 <ian.campbell@citrix.com>
> > Cc: Andrew Cooper <Andrew.Cooper3@citrix.com>
> > Cc: Paul Durrant <paul.durrant@citrix.com>
> > Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
> > Cc: Jan Beulich <JBeulich@suse.com>
> > ---
> > 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
> 
> 
> 

  reply	other threads:[~2015-05-29 13:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22  8:54 ACPI shutdown unreliable with win7? Ian Campbell
2015-05-22  8:59 ` Andrew Cooper
2015-05-22  9:08   ` Ian Campbell
2015-05-29 12:54     ` Ian Campbell
2015-05-29 13:04       ` Jan Beulich
2015-05-29 13:13         ` Ian Campbell [this message]
2015-05-29 14:25           ` Paul Durrant
2015-05-29 14:35             ` Ian Campbell
2015-05-29 15:06               ` Paul Durrant
2015-05-29 15:11                 ` Ian Campbell
2015-05-29 15:34                   ` Ross Philipson
2015-05-29 16:00                     ` Paul Durrant
2015-05-29 16:11                       ` Ross Philipson
2015-05-29 16:14                       ` Ross Philipson
2015-05-29 15:34               ` Paul Durrant
2015-05-29 15:56                 ` Jan Beulich
2015-05-29 15:51               ` Paul Durrant
2015-05-29 14:35             ` Jan Beulich
2015-05-29 13:14         ` Andrew Cooper
2015-05-29 13:19           ` Ian Campbell
2015-05-29 13:28           ` Jan Beulich
2015-05-29 14:00             ` Ian Campbell
2015-05-29 14:31               ` Andrew Cooper
2015-05-29 14:38                 ` Ian Campbell
2015-05-29 14:40               ` Jan Beulich
2015-05-29 14:49                 ` Ian Campbell
2015-05-29 18:55                   ` Don Slutz
2015-05-22  9:01 ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1432905214.15036.31.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=paul.durrant@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.