From: George Dunlap <george.dunlap@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH 5/5] raisin: Add XEN_CONFIG_EXTRA to config file
Date: Mon, 19 Oct 2015 12:42:26 +0100 [thread overview]
Message-ID: <5624D722.2070200@citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1510191234010.27957@kaball.uk.xensource.com>
On 19/10/15 12:37, Stefano Stabellini wrote:
> On Mon, 19 Oct 2015, George Dunlap wrote:
>> On 16/10/15 14:53, Stefano Stabellini wrote:
>>> On Wed, 14 Oct 2015, George Dunlap wrote:
>>>> Allowing the user to enable or disable specific functionality, such as
>>>> stubdoms.
>>>>
>>>> Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
>>>
>>> I don't like this very much: if we want to disable stubdoms by default
>>> with all configs, then I would prefer to simply add --disable-stubdom to
>>> components/xen without introducing XEN_CONFIG_EXTRA.
>>>
>>> Otherwise if we want to give users the chance to add an extra config
>>> option, I would introduce a generic way to do that, so that people can
>>> use it with any components they want, QEMU, libvirt, etc.
>>
>> You did notice that this config option is disabled by default, right? I
>> added the line commented-out as an example of the sort of thing you
>> might want to do.
>>
>> I don't think we want to disable stubdoms by default across the board.
>>
>> I wouldn't object to adding empty config variables to the other
>> components; I just don't have a good way to test them at the moment.
>
> What if we just add an environmental variable named as
> COMPONENT_BUILD_CONFIGURE at the end of the configure line when
> appropriate? Of course it would need to be documented in the README.
Isn't this exactly the same as my patch, but
1) With a different name, and
2) No examples in the config files?
I don't mind #1, but #2 seems like the most logical place to document it.
-George
>
> Something like:
>
>
> diff --git a/components/qemu b/components/qemu
> index dce4ce0..0e57bdb 100644
> --- a/components/qemu
> +++ b/components/qemu
> @@ -27,7 +27,7 @@ function qemu_build() {
> --disable-docs \
> --bindir=$PREFIX/lib/xen/bin \
> --datadir=$PREFIX/share/qemu-xen \
> - --disable-guest-agent
> + --disable-guest-agent $QEMU_BUILD_CONFIGURE
> $RAISIN_MAKE all
> $RAISIN_MAKE install DESTDIR="$INST_DIR"
> cd "$BASEDIR"
> diff --git a/components/xen b/components/xen
> index 6b700e5..01527ec 100644
> --- a/components/xen
> +++ b/components/xen
> @@ -39,7 +39,7 @@ function xen_build() {
> ovmf_opt="--enable-ovmf --with-system-ovmf="$BASEDIR"/ovmf-dir/ovmf.bin"
> fi
> ./configure --prefix=$PREFIX --with-system-qemu=$PREFIX/lib/xen/bin/qemu-system-i386 \
> - --disable-qemu-traditional --enable-rombios $seabios_opt $ovmf_opt
> + --disable-qemu-traditional --enable-rombios $seabios_opt $ovmf_opt $XEN_BUILD_CONFIGURE
> $RAISIN_MAKE
> $RAISIN_MAKE install DESTDIR="$INST_DIR"
> cd "$BASEDIR"
>
next prev parent reply other threads:[~2015-10-19 11:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-14 16:21 [PATCH 0/5] raisin: Miscelaneous improvements George Dunlap
2015-10-14 16:21 ` [PATCH 1/5] raisin: Handle aliases for packages, add pciutils-dev / libpci-dev alias George Dunlap
2015-10-16 13:37 ` Stefano Stabellini
2015-10-19 9:52 ` George Dunlap
2015-10-14 16:21 ` [PATCH 2/5] raisin: Detect systemd George Dunlap
2015-10-14 16:34 ` George Dunlap
2015-10-16 13:41 ` Stefano Stabellini
2015-10-19 9:54 ` George Dunlap
2015-10-19 11:09 ` Stefano Stabellini
2015-10-16 13:39 ` Stefano Stabellini
2015-10-16 14:02 ` Ian Campbell
2015-10-16 14:04 ` Stefano Stabellini
2015-10-19 10:01 ` George Dunlap
2015-10-19 11:15 ` Stefano Stabellini
2015-10-14 16:21 ` [PATCH 3/5] raisin: Allow iasl to alias acpica-tools, unify Fedora and CentOS deps for xen George Dunlap
2015-10-16 13:42 ` Stefano Stabellini
2015-10-14 16:21 ` [PATCH 4/5] raisin: Change update/release parsing OSes George Dunlap
2015-10-16 13:49 ` Stefano Stabellini
2015-10-19 9:16 ` George Dunlap
2015-10-19 11:26 ` Stefano Stabellini
2015-10-19 11:39 ` George Dunlap
2015-10-14 16:21 ` [PATCH 5/5] raisin: Add XEN_CONFIG_EXTRA to config file George Dunlap
2015-10-16 13:53 ` Stefano Stabellini
2015-10-19 9:24 ` George Dunlap
2015-10-19 11:37 ` Stefano Stabellini
2015-10-19 11:42 ` George Dunlap [this message]
2015-10-19 11:49 ` 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=5624D722.2070200@citrix.com \
--to=george.dunlap@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=stefano.stabellini@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/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.