Re: [Xen-devel] --enable-xsm ?

2015-01-15 Thread Don Slutz

On 01/15/15 04:40, Ian Campbell wrote:

On Wed, 2015-01-14 at 13:39 -0500, Konrad Rzeszutek Wilk wrote:

On Wed, Jan 14, 2015 at 09:06:37AM +, Jan Beulich wrote:

On 13.01.15 at 21:43, dgde...@tycho.nsa.gov wrote:

On 01/13/2015 02:27 PM, Konrad Rzeszutek Wilk wrote:

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



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
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel



___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] --enable-xsm ?

2015-01-15 Thread Konrad Rzeszutek Wilk
On Thu, Jan 15, 2015 at 11:53:20AM -0500, Don Slutz wrote:
 On 01/15/15 04:40, Ian Campbell wrote:
 On Wed, 2015-01-14 at 13:39 -0500, Konrad Rzeszutek Wilk wrote:
 On Wed, Jan 14, 2015 at 09:06:37AM +, Jan Beulich wrote:
 On 13.01.15 at 21:43, dgde...@tycho.nsa.gov wrote:
 On 01/13/2015 02:27 PM, Konrad Rzeszutek Wilk wrote:
 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

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

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] --enable-xsm ?

2015-01-15 Thread Jan Beulich
 On 14.01.15 at 19:39, konrad.w...@oracle.com wrote:
 On Wed, Jan 14, 2015 at 09:06:37AM +, Jan Beulich wrote:
  On 13.01.15 at 21:43, dgde...@tycho.nsa.gov wrote:
  On 01/13/2015 02:27 PM, Konrad Rzeszutek Wilk wrote:
  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).
 
 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


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] --enable-xsm ?

2015-01-14 Thread Konrad Rzeszutek Wilk
On Wed, Jan 14, 2015 at 09:06:37AM +, Jan Beulich wrote:
  On 13.01.15 at 21:43, dgde...@tycho.nsa.gov wrote:
  On 01/13/2015 02:27 PM, Konrad Rzeszutek Wilk wrote:
  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).

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

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] --enable-xsm ?

2015-01-14 Thread Jan Beulich
 On 13.01.15 at 21:43, dgde...@tycho.nsa.gov wrote:
 On 01/13/2015 02:27 PM, Konrad Rzeszutek Wilk wrote:
 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


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


[Xen-devel] --enable-xsm ?

2015-01-13 Thread 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.

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


Re: [Xen-devel] --enable-xsm ?

2015-01-13 Thread Daniel De Graaf

On 01/13/2015 02:27 PM, Konrad Rzeszutek Wilk wrote:

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.

--
Daniel De Graaf
National Security Agency

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel