xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
	Keir Fraser <keir@xen.org>,
	paul.durrant@citrix.com, Tim Deegan <tim@xen.org>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] x86/HVM: tie RTC emulation mode to enabling of Viridian emulation
Date: Tue, 2 Jul 2013 10:19:12 -0400	[thread overview]
Message-ID: <20130702141912.GA4416@phenom.dumpdata.com> (raw)
In-Reply-To: <51D2C5FD02000078000E2334@nat28.tlf.novell.com>

On Tue, Jul 02, 2013 at 11:22:21AM +0100, Jan Beulich wrote:
> >>> On 02.07.13 at 11:51, Tim Deegan <tim@xen.org> wrote:
> > At 10:27 +0100 on 02 Jul (1372760862), Jan Beulich wrote:
> >> >>> On 02.07.13 at 11:11, Tim Deegan <tim@xen.org> wrote:
> >> > At 08:02 +0100 on 02 Jul (1372752161), Jan Beulich wrote:
> >> >> As the mode not conforming to the hardware specification (by allowing
> >> >> the guest to skip the REG C reads in its interrupt handler) is a
> >> >> Viridian invention, it seems logical to tie this mode to that extension
> >> >> being enabled. If the extension is disabled, proper hardware emulation
> >> >> will be done instead.
> >> >> 
> >> >> The main thing necessary here is the synchronization of the RTC
> >> >> emulation code and the setting of the respective flag in hvmloader's
> >> >> creation of the ACPI WAET table.
> >> >> 
> >> >> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> >> > 
> >> > Wasn't this going to have its own param, defaulting to off on create and
> >> > to on on migrate?  I suspect most people just leave the viridian flag on
> >> > for all domains.
> >> 
> >> In which case there would be no behavioral difference to what
> >> we're going to release with 4.3. (That's leaving aside the fact that
> >> I think people doing so is not the best practice.)
> > 
> > Why not?  The Viridian interfaces is pretty well essential for running
> > recent Windows, and shouldn't be harmful for other OSes.
> 
> Shouldn't. But as we learned it occasionally is - Linux when built
> without CONFIG_XEN_PVHVM detects the HyperV functionality,
> and tried using HyperV functionality that Xen doesn't really emulate
> (see commits 32068f65 ["x86: Hyper-V: register clocksource only if
> its advertised"] and db34bbb7 ["X86: Add a check to catch Xen
> emulation of Hyper-V"]).

Shouldn't those patches be in stable tree by now?

> 
> Jan
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-07-02 14:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-02  7:02 [PATCH] x86/HVM: tie RTC emulation mode to enabling of Viridian emulation Jan Beulich
2013-07-02  8:01 ` Paul Durrant
2013-07-02  8:22   ` Jan Beulich
2013-07-02  8:34     ` Paul Durrant
2013-07-02  9:11 ` Tim Deegan
2013-07-02  9:27   ` Jan Beulich
2013-07-02  9:51     ` Tim Deegan
2013-07-02 10:22       ` Jan Beulich
2013-07-02 10:35         ` Tim Deegan
2013-07-02 13:01           ` George Dunlap
2013-07-02 14:04             ` Jan Beulich
2013-07-02 14:23               ` Tim Deegan
2013-07-02 14:19         ` Konrad Rzeszutek Wilk [this message]
2013-07-02 14:38           ` Jan Beulich
2013-07-02 10:10 ` Andrew Cooper

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=20130702141912.GA4416@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=keir@xen.org \
    --cc=paul.durrant@citrix.com \
    --cc=tim@xen.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).