From: Ian Campbell <Ian.Campbell@eu.citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Tim Deegan <tim@xen.org>, Paul Durrant <paul.durrant@citrix.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH v3 for 4.5] x86/viridian: Freeze time reference counter when domain is paused
Date: Tue, 21 Oct 2014 16:23:52 +0100 [thread overview]
Message-ID: <1413905032.23337.51.camel@eu.citrix.com> (raw)
In-Reply-To: <544696480200007800040BE8@mail.emea.novell.com>
On Tue, 2014-10-21 at 16:22 +0100, Jan Beulich wrote:
> >>> On 16.10.14 at 11:21, <paul.durrant@citrix.com> wrote:
> > In XenServer system test it has become apparent that versions of Windows
> > that make use of the time reference counter enlightenment cannot cope with
> > large jumps forward in the value read from the MSR. Specifically,
> > suspending a very large domain took approx. 45 minutes to complete and
> > when the domain was resumed it was discovered that the WMI (Windows
> > Management Instrumentation) service had hung.
> >
> > The reason a large jump forward is seen by the guest is that, when a guest
> > is suspended, the guest stops running when the SCHEDOP_suspend hypercall is
> > made, however the MSR value essentially keeps incrementing until the
> > tool-stack issues DOMCTL_gethvmcontext.
> >
> > This patch adds code to freeze the value of the time reference counter
> > on domain pause and 'thaw' it on domain unpause, but only thaw it if the
> > domain is not shutting down. The absolute value of the counter is then
> > saved in the viridian domain context record. This prevents the guest OS
> > from experiencing large jumps in the value of the MSR and has been shown
> > to reliably fix the problem with WMI.
> >
> > Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
>
> ARM maintainers: I was about to commit this patch when I noticed
> that there still was no ack from any of you for this (trivial) addition:
Acked-by: Ian Campbell <ian.campbell@citrix.com>
prev parent reply other threads:[~2014-10-21 15:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-16 9:21 [PATCH v3 for 4.5] x86/viridian: Freeze time reference counter when domain is paused Paul Durrant
2014-10-16 9:46 ` Andrew Cooper
2014-10-16 12:17 ` Jan Beulich
2014-10-16 12:31 ` Paul Durrant
2014-10-21 15:22 ` Jan Beulich
2014-10-21 15:23 ` Ian Campbell [this message]
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=1413905032.23337.51.camel@eu.citrix.com \
--to=ian.campbell@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=paul.durrant@citrix.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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.