From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Paul Bolle <pebolle@tiscali.nl>,
lguest@lists.ozlabs.org, Jeremy Fitzhardinge <jeremy@goop.org>,
xen-devel@lists.xensource.com, "H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@kernel.org>
Subject: Re: [Lguest] lguest: unhandled trap 13 and CONFIG_MICROCODE_INTEL_EARLY
Date: Wed, 8 May 2013 13:20:40 -0400 [thread overview]
Message-ID: <20130508172040.GA1256@phenom.dumpdata.com> (raw)
In-Reply-To: <87mws7nzag.fsf@rustcorp.com.au>
On Tue, May 07, 2013 at 02:48:15PM +0930, Rusty Russell wrote:
> "H. Peter Anvin" <hpa@zytor.com> writes:
> > On 05/05/2013 09:22 PM, Rusty Russell wrote:
> >>
> >> HPA, how about we extend the KEEP_SEGMENTS flag to mean "don't touch
> >> privileged registers" in general? That's what it used to do when it
> >> was introduced, and AFAIK only lguest uses it. Xen folk CC'd.
> >>
> >
> > KEEP_SEGMENTS was introduced at the request of Xen, not lguest. I'm a
> > bit concerned about extending it as I don't know what else might end up
> > being affected.
>
> Not sure if they ever used it, or if they still have their own entry
> point.
I don't ever recall it being used. But git commit bd53147db8bdf5dd49025c198ff18ac23f560e0e
says
Both x86 and x86_64 support the same boot protocol so we need
to implement the KEEP_SEGMENTS on x86_64 as well. It isn't
just paravirt bootloaders that could use this functionality.
And a quick Google search tells me:
http://lkml.indiana.edu/hypermail/linux/kernel/1102.0/01422.html
I think the only potential user is whatever Eric Biederman thought off?
>
> All this stuff (OLPC and early microcode) probably belongs after we jump
> to the platform handler: the microcode calls to native_cpuid() is a clue
> that we're doing something *badly* wrong.
>
> It's easy enough for lguest to decode and skip the unsupported
> instructions, though I've preferred not to do that.
>
> > On that subject, I would genuinely like to have a discussion of the
> > value vs. pain of continuing to support lguest. It has not been a
> > *huge* problem, especially not compared to Xen, but core
> > paravirtualization has turned out to be a maintenance nightmare and it
> > has had an enormous negative impact on development work.
<scratches his head>
I think this kind of discussion is best done face-to-face b/c people can
become emotional and then this discussion turns in the craper.
If I am reading you right the #1 issue is that you don't know whether
a certain paravirt instruction has any side-effects and as such you don't
feel that you can treat it like an equivalent instruction that is defined
in the Intel SDM?
And that means that any development work you have in the pipeline is
affected because you don't have the documentation on hand and are unsure
whether you will break something?
> >
> > That being said, lguest really hasn't been a huge problem, but partly it
> > is a "level of support" thing...
>
> Yeah, I always figured when paravirt_ops goes, lguest goes. By that
> stage, every reasonable piece of hardware should have VT support, so if
> lguest really wants to continue it can switch to that. Which makes it
> look a lot like bhyve, I guess.
>
> What's *really* weird is that there's been a burst of lguest activity in
> the last couple of months. Someone's even reviving lguest64. So maybe
> it's not dead yet.
>
> Cheers,
> Rusty.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>
next prev parent reply other threads:[~2013-05-08 17:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1367450300.11532.32.camel@x61.thuisdomein>
[not found] ` <1367450300.11532.32.camel-uMdlDhfIn7prKue/0VVhAg@public.gmane.org>
2013-05-06 4:22 ` lguest: unhandled trap 13 and CONFIG_MICROCODE_INTEL_EARLY Rusty Russell
[not found] ` <87li7srb3r.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2013-05-06 14:51 ` H. Peter Anvin
[not found] ` <5187C369.5020902-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-05-07 5:18 ` Rusty Russell
2013-05-08 17:20 ` Konrad Rzeszutek Wilk [this message]
[not found] ` <20130508172040.GA1256-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-05-08 18:07 ` [Xen-devel] " H. Peter Anvin
2013-05-10 14:51 ` Is: paravirt docs and diet. Was:Re: [Lguest] " Konrad Rzeszutek Wilk
[not found] ` <20130510145137.GJ19520-6K5HmflnPlqSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2013-05-10 17:19 ` Is: paravirt docs and diet. Was:Re: [Xen-devel] " H. Peter Anvin
2013-05-10 17:53 ` Is: paravirt docs and diet. Was:Re: [Lguest] " Matt Wilson
[not found] ` <20130510175326.GD10713-reOQivfqS6pSvVcqp95Imk58d5RJRbtSwVDGBwiNqrNWk0Htik3J/w@public.gmane.org>
2013-05-10 18:07 ` [Xen-devel] Is: paravirt docs and diet. Was:Re: " H. Peter Anvin
2013-05-13 20:11 ` Is: paravirt docs and diet. Was:Re: [Lguest] " Konrad Rzeszutek Wilk
2013-05-09 1:43 ` [Xen-devel] " Rusty Russell
[not found] ` <8738txnd13.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2013-05-09 3:24 ` H. Peter Anvin
[not found] ` <518B1702.7010307-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-05-09 8:24 ` Paul Bolle
[not found] ` <87mws7nzag.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2013-05-09 2:50 ` H. Peter Anvin
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=20130508172040.GA1256@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=hpa@zytor.com \
--cc=jeremy@goop.org \
--cc=lguest@lists.ozlabs.org \
--cc=mingo@kernel.org \
--cc=pebolle@tiscali.nl \
--cc=rusty@rustcorp.com.au \
--cc=tglx@linutronix.de \
--cc=xen-devel@lists.xensource.com \
/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.