[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH] pass --{enable, disable}-xsmpolicy based on XSM state



On 1/14/16 8:28 AM, Doug Goldstein wrote:
> If the test should build with XSM then supply --enable-xsmpolicy to the
> tools/configure script otherwise provide --disable-xsmpolicy. This will
> allow the default to change from --enable-xsmpolicy to
> --disable-xsmpolicy in the Xen tree without breaking OSSTest.
> 
> Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx>
> ---
>  ts-xen-build | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/ts-xen-build b/ts-xen-build
> index bc4e41a..4812dff 100755
> --- a/ts-xen-build
> +++ b/ts-xen-build
> @@ -111,6 +111,7 @@ END
>  sub build () {
>      my $xend_opt= $r{enable_xend} =~ m/true/ ? "--enable-xend" : 
> "--disable-xend";
>      my $ovmf_opt= $r{enable_ovmf} =~ m/true/ ? "--enable-ovmf" : 
> "--disable-ovmf";
> +    my $xsm_opt= $r{enable_xsm} =~ m/true/ ? "--enable-xsmpolicy" : 
> "--disable-xsmpolicy";
>  
>      my $configure_prefix = $r{cmdprefix_configure} // '';
>      my $make_prefix =      $r{cmdprefix_make}      // '';
> @@ -123,8 +124,11 @@ sub build () {
>                  if grep -q -- $ovmf_opt tools/configure ; then
>                      ovmf=$ovmf_opt
>                  fi
> +                if grep -q -- $xsm_opt tools/configure ; then
> +                    xsm=$xsm_opt
> +                fi
>  END
> -               $configure_prefix ./configure --sysconfdir=/etc \$xend \$ovmf
> +               $configure_prefix ./configure --sysconfdir=/etc \$xend \$ovmf 
> \$xsm
>  END
>              fi
>  END
> 

Given the support of the maintainers and committers for the proposal
[1], this patch should NOT be applied.

[1]
http://lists.xenproject.org/archives/html/xen-devel/2016-01/msg01796.html

-- 
Doug Goldstein

Attachment: signature.asc
Description: OpenPGP digital signature

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.