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

Re: [Xen-devel] [PATCH] automation: add SLES 11 SP4 dockerfile



On Tue, Jul 17, 2018 at 09:03:05PM +0100, Wei Liu wrote:
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
> No OVMF because it requires gcc 4.4 or later.
> No seabios because it requires anonymous union initialisation
> No QEMU upstrea because sed doesn't support -E.
> 
> vmcs.c vmx_find_msr and vmx_del_msr build failure in pv shim because
> the compiler thinks total, substart and subend may be used
> uninitialised.  The compiler doesn't complain while building normal
> xen though.

Also notable is that there is a sles11sp4-base on gitlab now, which is a
vanilla installation of SLES 11 SP4 with all the build tools and
libraries installed.

This helps separate Xen build specific setup (done in this file) from a
vanilla build.

> 
> Cc: Jan Beulich <jbeulich@xxxxxxxx>
> Cc: Doug Goldstein <cardoe@xxxxxxxxxx>
> ---
>  automation/build/suse/sles11sp4.dockerfile | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 automation/build/suse/sles11sp4.dockerfile
> 
> diff --git a/automation/build/suse/sles11sp4.dockerfile 
> b/automation/build/suse/sles11sp4.dockerfile
> new file mode 100644
> index 0000000000..ff69a99afc
> --- /dev/null
> +++ b/automation/build/suse/sles11sp4.dockerfile
> @@ -0,0 +1,20 @@
> +FROM registry.gitlab.com/xen-project/xen/suse:sles11sp4-base
> +LABEL maintainer.name="The Xen Project" \
> +      maintainer.email="xen-devel@xxxxxxxxxxxxxxxxxxxx"
> +
> +ENV USER root
> +
> +RUN mkdir /build
> +WORKDIR /build
> +
> +# Nothing else is needed -- base image already contain everything.
> +
> +# Note:
> +#
> +# SLES11 SP4 runs pre-2.13 glibc, which requires vsyscall support.  Most
> +# distros nowadays disable vsyscall. To run this container, the host needs to
> +# have vsyscall=emulate in its kernel command line.
> +#
> +# Due to various issues in SLES11 SP4, you might want to disable building
> +# certain components. Known *not bulding* components include OVMF, SEABIOS
> +# and upstream QEMU.
> -- 
> 2.11.0
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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