From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH] xen/tools: Introduce QNX IFS loader Date: Tue, 19 Aug 2014 17:13:02 +0100 Message-ID: <53F3778E.4020109@citrix.com> References: <1408463462-19568-1-git-send-email-oleksandr.tyshchenko@globallogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1408463462-19568-1-git-send-email-oleksandr.tyshchenko@globallogic.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Oleksandr Tyshchenko , xen-devel@lists.xen.org, julien.grall@linaro.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org On 19/08/14 16:51, Oleksandr Tyshchenko wrote: > Add ability to load QNX IFS image. Based on IPL code (U-Boot for QNX). > > Signed-off-by: Oleksandr Tyshchenko > --- > tools/libxc/Makefile | 1 + > tools/libxc/xc_dom_qnxifsloader.c | 189 ++++++++++++++++++++++++++++++++++++++ > 2 files changed, 190 insertions(+) > create mode 100644 tools/libxc/xc_dom_qnxifsloader.c > > diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile > index 22eef8e..812cc7e 100644 > --- a/tools/libxc/Makefile > +++ b/tools/libxc/Makefile > @@ -67,6 +67,7 @@ GUEST_SRCS-y += xc_dom_elfloader.c > GUEST_SRCS-$(CONFIG_X86) += xc_dom_bzimageloader.c > GUEST_SRCS-$(CONFIG_X86) += xc_dom_decompress_lz4.c > GUEST_SRCS-$(CONFIG_ARM) += xc_dom_armzimageloader.c > +GUEST_SRCS-$(CONFIG_ARM) += xc_dom_qnxifsloader.c > GUEST_SRCS-y += xc_dom_binloader.c > GUEST_SRCS-y += xc_dom_compat_linux.c > > diff --git a/tools/libxc/xc_dom_qnxifsloader.c b/tools/libxc/xc_dom_qnxifsloader.c > new file mode 100644 > index 0000000..45d007d > --- /dev/null > +++ b/tools/libxc/xc_dom_qnxifsloader.c > @@ -0,0 +1,189 @@ > +/* > + * Xen domain builder -- QNX IFS bits > + * > + * Parse and load QNX IFS image. > + * > + * Copyright (C) 2014, Globallogic. > + * > + * Licensed under the Apache License, Version 2.0 (the "License"). You > + * may not reproduce, modify or distribute this software except in > + * compliance with the License. You may obtain a copy of the License > + * at: http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, software > + * distributed under the License is distributed on an "AS IS" basis, > + * WITHOUT WARRANTIES OF ANY KIND, either express or implied. > + * > + * This file may contain contributions from others, either as > + * contributors under the License or as licensors under other terms. > + * Please review this entire file for other proprietary rights or license > + * notices, as well as the QNX Development Suite License Guide at > + * http://licensing.qnx.com/license-guide/ for other information. > + */ The rest of libxc is licensed under GPLv2.1, which is incompatible with Apache 2.0 IANAL, but I don't believe this can be accepted in its current form. ~Andrew