All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Andrew Jones <drjones@redhat.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"virtualization@lists.linux-foundation.org"
	<virtualization@lists.linux-foundation.org>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [PATCH] xen: remove CONFIG_XEN_DOM0 compile option
Date: Tue, 10 Jan 2012 11:57:42 +1100	[thread overview]
Message-ID: <4F0B8D06.8050501@goop.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1201091838490.3150@kaball-desktop>

On 01/10/2012 05:44 AM, Stefano Stabellini wrote:
> On Mon, 9 Jan 2012, Andrew Jones wrote:
>> I guess if we did the s/XEN_DOM0/LOCAL_APIC && IO_APIC && ACPI/ in
>> arch/x86/pci/xen.c it would be pretty easy to review for equivalence.
>> Then keep CONFIG_PRIVILIGED, but drop XEN_DOM0 from everywhere else and
>> compile in the 3 files. I don't think it makes much sense to do it
>> though. XEN_DOM0 keeps things tidier now and might be useful later.
> we can keep things clean with the following:
>
> #ifdef CONFIG_LOCAL_APIC && CONFIG_IO_APIC && CONFIG_ACPI && CONFIG_PCI_XEN
>
> #define XEN_DOM0
>
> #endif
>
> in include/xen/xen.h.
>
> So in the source files we can still '#ifdef XEN_DOM0', but at the same
> time we can get rid of the build symbol: everybody wins.

No, really, I think this is silly.  This kind of dependency information
should be encoded in the Kconfig system, and not reimplemented in an
ad-hoc way.

If there were a clean way to do what Andrew wants then I'd support it,
but this thread has descended into a spiral of madness, which makes me
think its a lost cause.

If the root complaint is that "customers think that anything set in
.config is a supported feature", then the solutions are to support all
the features in .config, re-educate the customers that they're wrong, or
maintain a local patch to do this stuff.

    J

  parent reply	other threads:[~2012-01-10  0:57 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06 16:39 [PATCH] xen: remove CONFIG_XEN_DOM0 compile option Andrew Jones
2012-01-06 16:59 ` Stefano Stabellini
2012-01-09 10:37   ` [Xen-devel] " Andrew Jones
2012-01-09 11:39     ` Stefano Stabellini
2012-01-09 14:56       ` Konrad Rzeszutek Wilk
2012-01-09 16:12         ` Stefano Stabellini
2012-01-09 17:04           ` Konrad Rzeszutek Wilk
2012-01-09 17:38             ` Andrew Jones
2012-01-09 18:44               ` Stefano Stabellini
2012-01-10  0:57                 ` Jeremy Fitzhardinge
2012-01-10  0:57                 ` Jeremy Fitzhardinge [this message]
2012-01-11 15:37                   ` Andrew Jones
2012-01-11 16:19                     ` Konrad Rzeszutek Wilk
2012-01-11 16:36                       ` [PATCH 1/4] xen kconfig: keep XEN_XENBUS_FRONTEND builtin Andrew Jones
2012-01-11 16:36                         ` [PATCH 2/4 v2] xen kconfig: relax INPUT_XEN_KBDDEV_FRONTEND deps Andrew Jones
2012-01-11 17:30                           ` Konrad Rzeszutek Wilk
2012-01-12 10:59                             ` Andrew Jones
2012-01-11 16:36                         ` [PATCH 3/4 v2] xen kconfig: add dom0 support help text Andrew Jones
2012-01-11 16:36                         ` [PATCH 4/4] xen kconfig: describe xen tmem in the config menu Andrew Jones
2012-01-11 17:35                           ` Konrad Rzeszutek Wilk
2012-01-12 10:54                             ` Andrew Jones
2012-01-11 17:28                         ` [PATCH 1/4] xen kconfig: keep XEN_XENBUS_FRONTEND builtin Konrad Rzeszutek Wilk
2012-01-11 17:28                         ` Konrad Rzeszutek Wilk
2012-01-12 10:49                           ` [Xen-devel] " Andrew Jones
2012-01-12 14:37                             ` Konrad Rzeszutek Wilk
2012-01-12 15:42                               ` Bastian Blank
2012-01-12 17:46                                 ` [Xen-devel] " Andrew Jones
2012-01-12 15:42                               ` Bastian Blank
2012-01-11 17:27                       ` [PATCH] xen: remove CONFIG_XEN_DOM0 compile option Konrad Rzeszutek Wilk
2012-01-12 10:53                         ` [Xen-devel] " Andrew Jones
2012-01-11 17:27                       ` Konrad Rzeszutek Wilk
2012-01-09 18:12             ` Stefano Stabellini
2012-01-09 17:26           ` Andrew Jones
2012-01-06 17:16 ` Ian Campbell

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=4F0B8D06.8050501@goop.org \
    --to=jeremy@goop.org \
    --cc=drjones@redhat.com \
    --cc=konrad.wilk@oracle.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=virtualization@lists.linux-foundation.org \
    --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.