From: David Vrabel <david.vrabel@citrix.com>
To: Juergen Gross <jgross@suse.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
David Vrabel <david.vrabel@citrix.com>,
"Ian.Campbell@citrix.com" <Ian.Campbell@citrix.com>,
Jan Beulich <JBeulich@suse.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: Xen's Linux kernel config options
Date: Fri, 12 Dec 2014 17:29:32 +0000 [thread overview]
Message-ID: <548B25FC.6020601@citrix.com> (raw)
In-Reply-To: <548AEAE7.8020604@suse.com>
On 12/12/14 13:17, Juergen Gross wrote:
>
>
> As a first draft I'd suggest the following:
Some rough thoughts below.
> Option Selects Depends
> ----------------------------------------------------------------------
> XEN SWIOTLB_XEN(arm,arm64)
XEN should get you basic support for making hypercalls and allowing
guest to identify themselves as running on Xen. I don't think it should
select SWIOTLB_XEN even on ARM as it is only needed for guests with
access to real hardware.
> XEN_PV(x86) XEN_HAVE_PVMMU
> PARAVIRT
> PARAVIRT_CLOCK
> XEN_PVH(x86) XEN_PVHVM
> PARAVIRT
> PARAVIRT_CLOCK
> XEN_BACKEND XEN_PV(x86) ||
> XEN_PVH(x86) ||
> XEN_PVHVM
> XEN_BLKDEV_BACKEND
> XEN_PCIDEV_BACKEND(x86)
> XEN_SCSI_BACKEND
> XEN_NETDEV_BACKEND
[...]
> XEN_PVHVM
Move XEN_PVHVM under XEN and have it select PARAVIRT and PARAVIRT_CLOCK.
> XEN_FRONTEND XEN_PV ||
> XEN_PVH ||
> XEN_PVHVM
This enables all the basic infrastructure for frontends: event channels,
grant tables and Xenbus.
Don't make XEN_FRONTEND depend on any XEN_* variant. It should be
possible to have frontend drivers without support for any of the
PV/PVHVM/PVH guest types. Frontends only need event channels, grant
table and xenbus.
Perhaps have XEN_FRONTEND select XEN instead?
You need an additional option to enable the Xen platform PCI device.
This should depend on XEN_FRONTEND.
> XEN_XENBUS_FRONTEND
Fold this into XEN_FRONTEND?
> XEN_FBDEV_FRONTEND XEN_XENBUS_FRONTEND
> INPUT_XEN_KBDDEV_FRONTEND
> XEN_BLKDEV_FRONTEND XEN_XENBUS_FRONTEND
> HVC_XEN_FRONTEND XEN_XENBUS_FRONTEND
> HVC_XEN
> TCG_XEN XEN_XENBUS_FRONTEND
> XEN_PCIDEV_FRONTEND PCI_XEN
> XEN_XENBUS_FRONTEND
> XEN_SCSI_FRONTEND XEN_XENBUS_FRONTEND
> INPUT_XEN_KBDDEV_FRONTEND XEN_XENBUS_FRONTEND
> XEN_NETDEV_FRONTEND XEN_XENBUS_FRONTEND
>
> There might be some further adjustments needed (should XEN_DEV_EVTCHN
> and XEN_GNTDEV belong to XEN_BACKEND?), but these are minor nits. The
> main difference to the current status is the XEN setting no longer
> controlling all other options.
XEN_DEV_EVTCH and XEN_GNTDEV are useful to non-backends (e.g., for
interdomain comms).
David
next prev parent reply other threads:[~2014-12-12 17:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-12 13:17 Xen's Linux kernel config options Juergen Gross
2014-12-12 16:44 ` Konrad Rzeszutek Wilk
2014-12-15 11:00 ` Juergen Gross
2014-12-12 17:29 ` David Vrabel [this message]
2014-12-15 11:12 ` Juergen Gross
2014-12-15 15:17 ` Stefano Stabellini
2015-02-19 23:43 ` Luis R. Rodriguez
2015-02-23 20:09 ` Luis R. Rodriguez
2015-02-24 15:21 ` Stefano Stabellini
2015-02-24 16:28 ` Luis R. Rodriguez
2015-02-25 12:01 ` Stefano Stabellini
2015-02-25 14:27 ` Stefano Stabellini
2015-02-26 0:36 ` Luis R. Rodriguez
2015-02-25 22:13 ` Luis R. Rodriguez
2015-02-25 22:22 ` Konrad Rzeszutek Wilk
2015-02-26 11:19 ` Stefano Stabellini
2015-02-26 16:56 ` Luis R. Rodriguez
2015-02-26 17:44 ` Stefano Stabellini
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=548B25FC.6020601@citrix.com \
--to=david.vrabel@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=boris.ostrovsky@oracle.com \
--cc=jgross@suse.com \
--cc=konrad.wilk@oracle.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.