From: Wei Liu Subject: Re: [PATCH] libxc: remove most of tools/libxc/xc_dom_compat_linux.c Date: Tue, 6 Oct 2015 13:58:58 +0100 Message-ID: <20151006125858.GB29124@zion.uk.xensource.com> References: <1444131327-22000-1-git-send-email-jgross@suse.com> <5613C400.4040209@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <5613C400.4040209@citrix.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: Andrew Cooper Cc: Juergen Gross , wei.liu2@citrix.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Oct 06, 2015 at 01:52:16PM +0100, Andrew Cooper wrote: > On 06/10/15 12:35, Juergen Gross wrote: > > In tools/libxc/xc_dom_compat_linux.c only xc_linux_build() is currently > > being used by an in-tree component (qemu-xen). All other functions are > > superfluous wrappers of the domain builder which can be removed. > > > > Suggested-by: Ian Campbell > > Signed-off-by: Juergen Gross > > Sorry, but NACK. They are *not* superfluous. > > XenServer uses them; xc_dom_linux_build() is the only way to apply > XSA-25 size restrictions to PV kernels and initrds. > Could you explain a bit more about this? How could this particular function apply restrictions? Unfortunately XSA-25 is not on XSA page so I have no idea what that is. Wei. > ~Andrew