From: Ian Campbell <ian.campbell@citrix.com>
To: Paul Durrant <Paul.Durrant@citrix.com>
Cc: Andrew Cooper <Andrew.Cooper3@citrix.com>,
xen-devel <xen-devel@lists.xen.org>,
Jan Beulich <JBeulich@suse.com>,
Ian Jackson <Ian.Jackson@citrix.com>
Subject: Re: ACPI shutdown unreliable with win7?
Date: Fri, 29 May 2015 15:35:44 +0100 [thread overview]
Message-ID: <1432910144.15036.53.camel@citrix.com> (raw)
In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD02591CA56@AMSPEX01CL01.citrite.net>
On Fri, 2015-05-29 at 15:25 +0100, Paul Durrant wrote:
> > -----Original Message-----
> > From: Ian Campbell [mailto:ian.campbell@citrix.com]
> > Sent: 29 May 2015 14:14
> > To: Jan Beulich
> > Cc: Andrew Cooper; Paul Durrant; Ian Jackson; xen-devel
> > Subject: Re: [Xen-devel] ACPI shutdown unreliable with win7?
> >
> > 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.
> >
>
> How long is the test waiting for the OS to shut down though? If you
> get unlucky, Windows will wander off to Windows Update, download a
> bazillion patches and take more than an hour to shut down. If you’re
> lucky, it may shut down in 10 seconds or less.
The screenshot in e.g.
http://logs.test-lab.xenproject.org/osstest/logs/56929/test-amd64-amd64-xl-qemut-win7-amd64/info.html
seems to show that the guest isn't even trying to shut down, it's just
sat there at the desktop:
http://logs.test-lab.xenproject.org/osstest/logs/56929/test-amd64-amd64-xl-qemut-win7-amd64/win.guest.osstest--vnc.jpeg
I think if it had hit WU there would be activity on the screen?
FWIW We appear to wait 200s, if we were seeing failures due to windows
update then I'd be inclined to extend that, but I think right now that
would be premature, unless WU happens with no status on the screen.
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-05-29 14:35 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
2015-05-29 14:25 ` Paul Durrant
2015-05-29 14:35 ` Ian Campbell [this message]
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=1432910144.15036.53.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Andrew.Cooper3@citrix.com \
--cc=Ian.Jackson@citrix.com \
--cc=JBeulich@suse.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.