All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: David Vrabel <david.vrabel@citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: PVHVM drivers in upstream linux kernel
Date: Tue, 02 Dec 2014 15:35:28 +0100	[thread overview]
Message-ID: <547DCE30.4080303@suse.com> (raw)
In-Reply-To: <547DC80A.10301@citrix.com>

On 12/02/2014 03:09 PM, David Vrabel wrote:
> On 02/12/14 13:00, Juergen Gross wrote:
>>
>> I'd see:
>> - XEN_PV (selects PARAVIRT, XEN_FRONTEND): be able to run as pv-domain
>>    (x86 only)
>
> Depends on PARAVIRT perhaps?

Chicken and egg problem? :-)

I'd say select, as PARAVIRT isn't a primary function the user wants to
enable, it is a prerequisite for e.g. XEN_PV.

>
>> - XEN_PVHVM (selects XEN_FRONTEND): be able to run as hvm-domain with
>>    pv-drivers
>> - XEN_BACKEND (selects PARAVIRT if x86): be able to run as driver domain
>>    (dom0 or other)
>
> Does not need to select PARAVIRT -- HVM domains can run backends.

Okay.

>
>> - XEN_DOM0 (selects PARAVIRT if x86, XEN_BACKEND): be able to run as
>>    dom0
>
> XEN_DOM0 depends on XEN_PV or XEN_PVH (if x86) and whatever ARM needs.

I've removed XEN_PV as XEN_DOM0 shouldn't require XEN_FRONTEND.
We can add XEN_PARAVIRT instead which will be needed by XEN_DOM0 and
XEN_PV and will select PARAVIRT.

>
>> - XEN_FRONTEND: be able to run as domU with pv-drivers
>
> It may also be interesting to consider splitting the PV MMU stuff under
> a PARAVIRT_MMU option.  This might address a reason why people want to
> disable PARAVIRT completely.

Okay, seems sensible. Especially regarding XEN_PVH which I've omitted
here.

I'll try to assemble a complete config tree for review before starting
with patches. :-)


Juergen

  reply	other threads:[~2014-12-02 14:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02  9:39 PVHVM drivers in upstream linux kernel Juergen Gross
2014-12-02 10:54 ` David Vrabel
2014-12-02 11:02   ` Juergen Gross
2014-12-02 11:05   ` Ian Campbell
2014-12-02 11:33     ` Juergen Gross
2014-12-02 11:36       ` Ian Campbell
2014-12-02 11:39         ` Juergen Gross
2014-12-02 11:59       ` David Vrabel
2014-12-02 13:00         ` Juergen Gross
2014-12-02 14:09           ` David Vrabel
2014-12-02 14:35             ` Juergen Gross [this message]
2014-12-02 15:11     ` Konrad Rzeszutek Wilk
2014-12-02 15:13       ` Ian Campbell
2014-12-02 17:04         ` Konrad Rzeszutek Wilk
2014-12-02 15:10 ` Konrad Rzeszutek Wilk

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=547DCE30.4080303@suse.com \
    --to=jgross@suse.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=david.vrabel@citrix.com \
    --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.