From: Ian Campbell <ian.campbell@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Paul Durrant <paul.durrant@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Jan Beulich <JBeulich@suse.com>,
xen-devel <xen-devel@lists.xen.org>
Subject: Re: ACPI shutdown unreliable with win7?
Date: Fri, 29 May 2015 15:38:24 +0100 [thread overview]
Message-ID: <1432910304.15036.55.camel@citrix.com> (raw)
In-Reply-To: <55687842.7050809@citrix.com>
On Fri, 2015-05-29 at 15:31 +0100, Andrew Cooper wrote:
> On 29/05/15 15:00, Ian Campbell wrote:
> > On Fri, 2015-05-29 at 14:28 +0100, Jan Beulich wrote:
> >>>>> On 29.05.15 at 15:14, <andrew.cooper3@citrix.com> wrote:
> >>> On 29/05/15 14:04, 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.
> >>> You can avoid advertising S3/S4 in the ACPI tables, which iirc causes
> >>> the same alteration to happen.
> >>>
> >>> Hvmloader uses the platform/acpi_s{3,4} booleans to control whether the
> >>> relevant SSDTs are exposed.
> >> Which libxl even has settings for. That would perhaps be a better first
> >> try than disabling ACPI shutdown.
> > I've mentioned it at least twice now but nobody seems to think it is of
> > note that even with the current settings it does the right thing about 1
> > time in 10? Is Win7 really expected to behave so randomly here?
>
> Windows is far from bug free, and also a black box. I really cannot
> answer whether this is intended behaviour or not.
>
> >
> > Also, when the test fails the guest is also not hibernating either.
> >
> > Plus I've queried the impact of change the ACPI s3/s4 settings on the
> > save/restore/migrate tests in the flight more than once and nobody has
> > responded to that either.
>
> save/restore/migrate necessarily need PV drivers inside the guest, and
> installing PV drivers should set the sane defaults inside the guest.
>
> What does OSSTest do with PV drivers?
Nothing AFAIK, unless they are baked into the ISOs we take from the
XenRT folks (which I think is not the case).
Yet our s/r/m tests of these guests do pass (mostly), I believe because
they end up leveraging HVM s3 but I might be wrong.
Ian.
next prev parent reply other threads:[~2015-05-29 14:38 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
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 [this message]
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=1432910304.15036.55.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.