Skip to contentSkip to conversation

--enable-xsm ?

DISCUSSION Konrad Rzeszutek Wilk 5 participants 8 messages Jan 13, 2015 – Jan 15, 2015

lore
Share & tools
lore
#0 lore raw

Hey

I was wondering if there would be any plans for configure.ac (or the m4 scripts) to have an --enable-xsm which would set XSM_ENABLE (or FLASK_ENABLE) to true?

Right now by default to build with XSM one has to manually change the Config.mk ENABLE_XSM option to 'y'.

Thanks.

#1 lore raw
Quoted 10 lines · Konrad Rzeszutek Wilk

Hey

I was wondering if there would be any plans for configure.ac (or the m4 scripts) to have an --enable-xsm which would set XSM_ENABLE (or FLASK_ENABLE) to true?

Right now by default to build with XSM one has to manually change the Config.mk ENABLE_XSM option to 'y'.

Thanks.

Is the hypervisor build allowed to depend on having run ./configure now? I think this was the reason why config.mk is being used.

Signature · 2 lines
Daniel De Graaf
National Security Agency
#2 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 13.01.15 at 21:43, <[email protected]> wrote:
Quoted 6 lines · Konrad Rzeszutek Wilk

I was wondering if there would be any plans for configure.ac (or the m4 scripts) to have an --enable-xsm which would set XSM_ENABLE (or FLASK_ENABLE) to true?

Right now by default to build with XSM one has to manually change the Config.mk ENABLE_XSM option to 'y'.

Is the hypervisor build allowed to depend on having run ./configure now? I think this was the reason why config.mk is being used.

Correct - configury only controls the tools (and stubdom iirc).

Jan

#3 lore raw
Quoted 6 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 13.01.15 at 21:43, <[email protected]> wrote:
Quoted 4 lines · Konrad Rzeszutek Wilk

I was wondering if there would be any plans for configure.ac (or the m4 scripts) to have an --enable-xsm which would set XSM_ENABLE (or FLASK_ENABLE) to true?

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Right now by default to build with XSM one has to manually change the Config.mk ENABLE_XSM option to 'y'.

Is the hypervisor build allowed to depend on having run ./configure now? I think this was the reason why config.mk is being used.

Correct - configury only controls the tools (and stubdom iirc).

Ah that is right. Should we expand on that then? Make the hypervisor build with different configure options?

Quoted 3 lines

Jan

#4 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line · On 14.01.15 at 19:39, <[email protected]> wrote:
Quoted 9 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 13.01.15 at 21:43, <[email protected]> wrote:
Quoted 6 lines · Konrad Rzeszutek Wilk

I was wondering if there would be any plans for configure.ac (or the m4 scripts) to have an --enable-xsm which would set XSM_ENABLE (or FLASK_ENABLE) to true?

Right now by default to build with XSM one has to manually change the Config.mk ENABLE_XSM option to 'y'.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Is the hypervisor build allowed to depend on having run ./configure now? I think this was the reason why config.mk is being used.

Correct - configury only controls the tools (and stubdom iirc).

Ah that is right. Should we expand on that then? Make the hypervisor build with different configure options?

I'd really try to avoid that; if any configuration should be needed, it should rather follow e.g. the Linux kernel model than the user space one used for the tools.

Jan

#5 lore raw
In reply to Konrad Rzeszutek Wilk
Quoted 10 lines · Konrad Rzeszutek Wilk
Quoted 9 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 13.01.15 at 21:43, <[email protected]> wrote:
Quoted 6 lines · Konrad Rzeszutek Wilk

I was wondering if there would be any plans for configure.ac (or the m4 scripts) to have an --enable-xsm which would set XSM_ENABLE (or FLASK_ENABLE) to true?

Right now by default to build with XSM one has to manually change the Config.mk ENABLE_XSM option to 'y'.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Is the hypervisor build allowed to depend on having run ./configure now? I think this was the reason why config.mk is being used.

Correct - configury only controls the tools (and stubdom iirc).

Ah that is right. Should we expand on that then? Make the hypervisor build with different configure options?

The hypervisor maintainers have indicated repeatedly that they do not want building the hypervisor to require running configure. Which makes sense, since Xen has no dependency on the userspace environment.

Ian.

#6 lore raw
Quoted 10 lines · Ian Campbell
Quoted 9 lines · Konrad Rzeszutek Wilk
Quoted 8 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 13.01.15 at 21:43, <[email protected]> wrote:
Quoted 6 lines · Konrad Rzeszutek Wilk

I was wondering if there would be any plans for configure.ac (or the m4 scripts) to have an --enable-xsm which would set XSM_ENABLE (or FLASK_ENABLE) to true?

Right now by default to build with XSM one has to manually change the Config.mk ENABLE_XSM option to 'y'.

This is not strictly true. I see the option as XSM_ENABLE. And

docs/misc/xsm-flask.txt

correctly states that a .config file can specify this. Also you can add XSM_ENABLE=y to the make command line.

And in bash, export XSM_ENABLE=y works. All of these work without a manual change to Config.mk

-Don Slutz

Quoted 16 lines
Quoted 5 lines
Quoted 3 lines
Quoted 2 lines

Is the hypervisor build allowed to depend on having run ./configure now? I think this was the reason why config.mk is being used.

Correct - configury only controls the tools (and stubdom iirc).

Ah that is right. Should we expand on that then? Make the hypervisor build with different configure options?

The hypervisor maintainers have indicated repeatedly that they do not want building the hypervisor to require running configure. Which makes sense, since Xen has no dependency on the userspace environment.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#7 lore raw
Quoted 14 lines · Don Slutz
Quoted 10 lines · Ian Campbell
Quoted 9 lines · Konrad Rzeszutek Wilk
Quoted 8 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 13.01.15 at 21:43, <[email protected]> wrote:
Quoted 6 lines · Konrad Rzeszutek Wilk

I was wondering if there would be any plans for configure.ac (or the m4 scripts) to have an --enable-xsm which would set XSM_ENABLE (or FLASK_ENABLE) to true?

Right now by default to build with XSM one has to manually change the Config.mk ENABLE_XSM option to 'y'.

This is not strictly true. I see the option as XSM_ENABLE. And

Quoted 7 lines

docs/misc/xsm-flask.txt

correctly states that a .config file can specify this. Also you can add XSM_ENABLE=y to the make command line.

And in bash, export XSM_ENABLE=y works. All of these work without a manual change to Config.mk

That is right. I totally forgot about that :-) Will use that to make sure I build with XSM enabled. Thanks!