All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
	Keir Fraser <keir.xen@gmail.com>,
	"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>,
	"stefano.stabellini@eu.citrix.com"
	<stefano.stabellini@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: [HYBRID]: status update...
Date: Wed, 1 Aug 2012 12:55:32 -0400	[thread overview]
Message-ID: <20120801165532.GB11447@phenom.dumpdata.com> (raw)
In-Reply-To: <336853058.20120801185156@eikelenboom.it>

On Wed, Aug 01, 2012 at 06:51:56PM +0200, Sander Eikelenboom wrote:
> Wednesday, August 1, 2012, 6:21:57 PM, you wrote:
> 
> > On Wed, Aug 1, 2012 at 5:05 PM, Konrad Rzeszutek Wilk
> > <konrad.wilk@oracle.com> wrote:
> >> On Wed, Aug 01, 2012 at 04:59:58PM +0100, George Dunlap wrote:
> >>> On Wed, Aug 1, 2012 at 4:25 PM, Konrad Rzeszutek Wilk
> >>> <konrad.wilk@oracle.com> wrote:
> >>> > On Wed, Aug 01, 2012 at 04:25:01PM +0100, George Dunlap wrote:
> >>> >> I hope this isn't bikeshedding; but I don't like "Hybrid" as a name
> >>> >> for this feature, mainly for "marketing" reasons.  I think it will
> >>> >> probably give people the wrong idea about what the technology does.
> >>> >> PV domains is one of Xen's really distinct advantages -- much simpler
> >>> >> interface, lighter-weight (no qemu, legacy boot), &c &c.  As I
> >>> >> understand it, the mode you've been calling "hybrid" still has all of
> >>> >> these advantages -- it just uses some of the HVM hardware extensions
> >>> >> to make the interface even simpler / faster.  I'm afraid "hybrid" may
> >>> >> be seen as, "Even Xen has had to give up on PV."
> >>> >>
> >>> >> Can I suggest something like "PVH" instead?  That (at least to me)
> >>> >> makes it clear that PV domains are still fully PV, but just use some
> >>> >> HVM extensions.
> >>> >
> >>> > if (xen_pvh_domain()?
> >>> >
> >>> > if (xen_pv_h_domain()?
> >>> >
> >>> > if (xen_h_domain()) ?
> >>> >
> >>> > if (xen_pvplus_domain()) ?
> >>> >
> >>> > if (xen_pv_ext_domain()) ?
> >>> >
> >>> > I think I like 'pv+'?
> >>>
> >>> I could deal with pv+.  However, in general I dislike that kind of
> >>> "now even better!" marketing.  PV+, EPV (Enhanced / extended PV), PVX
> >>> (Extreme PV!) -- they all sound cool when they come out, but five
> >>> years later, when they're not so new or sexy anymore, they all sound
> >>> lame.  PVH is just descriptive -- it will always be PV with HVM
> >>> extensions, so it will age much better. :-)
> >>
> >> How about pv_with_mmu_in_hvm_container_domain() ?
> >>
> >> Ok, that is a bit to lengthy. How about then:
> >>
> >> if (xen_pvhvm_ext_domain()) ?
> >>
> >> The 'if (xen_pvh_domain())' is just one characer short of 'xen_pv_domain()'
> >> and one might not notice it. Perhaps then 'if (xen_pv_h_domain()' ?
> 
> > Hmm -- that's an interesting issue I hadn't thought of.  "PVHVM" has
> > already been sort of taken by Stefano's extensions to allow Linux
> > kernels booted in HVM mode to use some of the PV extensions.  I tend
> > to think "xen_pvh_domain()" is probably OK, but maybe calling it
> > "pvext" (or "pvhext") in the code, and "PVH" in documentation /
> > stories?  Just using "pvext" everywhere could work as well; it's a
> > little bit "now even better!", but not as much as pvplus.
> 
> Am i mistaken in saying that both "Hyrbid" and "PVHVM" are both targeting the same, but approaching it from a different base / direction (PV + HVM extensions versus HVM + PV extensions) ?

Pretty much. HVM is QEMU with emulated devices and then ditching most of them and
turning on PV for everything you can.

PV ext is starting with PV and using the SVM/VMX container (so no QEMU) to deal
with the memory management. The PV functionality is still present except that
MMU operations and syscalls' don't go through the hypervisor anymore.

> If that's the case, how far are these apart from meeting each other in the middle, and what would be the fundamental difference ?

At the end of the day they are pretty similar .. a PVHVM guest tries to
use the least amount of QEMU functionality and use PV drivers. For MMU
and such it uses VMX/SVM container. The PV ext would be using no QEMU
but using VMX/SVM container.
> It seems to be the full qemu container / emulated driver model availability on HVM + PV extensions ?

Sure, that is the big difference - PVHVM needs QEMU to bootup at least.

> 
> Just wondering if the naming should express that most explicit and fundamental difference (if there is one :-) ) ?

"if (xen_fat_domain())' (so QEMU) and 'if (xen_slim__domain())' (no QEMU)?

  reply	other threads:[~2012-08-01 16:55 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27  1:17 [HYBRID]: status update Mukesh Rathor
2012-06-27  2:10 ` Mukesh Rathor
2012-06-28  8:44 ` Ian Campbell
2012-07-03 19:24   ` Mukesh Rathor
2012-07-04 10:01     ` Stefano Stabellini
2012-07-04 23:13       ` Mukesh Rathor
2012-07-05 14:05         ` Stefano Stabellini
2012-08-01 15:25 ` George Dunlap
2012-08-01 15:25   ` Konrad Rzeszutek Wilk
2012-08-01 15:59     ` George Dunlap
2012-08-01 16:05       ` Konrad Rzeszutek Wilk
2012-08-01 16:21         ` George Dunlap
2012-08-01 16:51           ` Sander Eikelenboom
2012-08-01 16:55             ` Konrad Rzeszutek Wilk [this message]
2012-08-01 16:53           ` HYBRID naming [Was: Re: [HYBRID]: status update...] Matt Wilson
2012-08-02 11:41             ` George Dunlap
2012-08-04  1:06               ` Pasi Kärkkäinen
2012-08-01 16:05       ` [HYBRID]: status update Andrew Cooper
2012-08-01 16:08       ` Ian Campbell
2012-08-01 16:02   ` Sander Eikelenboom
2012-08-01 22:34   ` Mukesh Rathor
2012-08-02  9:53     ` George Dunlap
2012-08-02 14:24       ` Konrad Rzeszutek Wilk
2012-08-13 22:14       ` Mukesh Rathor
2012-08-14 10:44         ` Stefano Stabellini
2012-08-14 17:38           ` Mukesh Rathor
2012-08-14 17:42             ` Stefano Stabellini
2012-08-14 17:51               ` Mukesh Rathor
2012-08-15  8:19                 ` Jan Beulich
2012-08-15  9:42                   ` Ian Campbell
2012-08-15  9:54                     ` Jan Beulich
  -- strict thread matches above, loose matches on Subject: below --
2012-05-11  1:02 [HYBRID] : " Mukesh Rathor
2012-05-11  1:40 ` Konrad Rzeszutek Wilk
2012-05-11  8:03   ` Ian Campbell
2012-05-11  6:14 ` Pasi Kärkkäinen

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=20120801165532.GB11447@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=keir.xen@gmail.com \
    --cc=linux@eikelenboom.it \
    --cc=stefano.stabellini@eu.citrix.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.