From: Ian Campbell Subject: Re: [OSSTEST PATCH RFC v1 11/12] ts-debian-install: add in seclabel if XSM is enabled Date: Wed, 24 Sep 2014 14:45:50 +0100 Message-ID: <1411566350.28127.34.camel@kazak.uk.xensource.com> References: <1411395121-6528-1-git-send-email-wei.liu2@citrix.com> <1411395121-6528-12-git-send-email-wei.liu2@citrix.com> <1411556495.26204.5.camel@kazak.uk.xensource.com> <20140924131414.GA14618@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140924131414.GA14618@zion.uk.xensource.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: Wei Liu Cc: dgdegra@tycho.nsa.gov, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-09-24 at 14:14 +0100, Wei Liu wrote: > On Wed, Sep 24, 2014 at 12:01:35PM +0100, Ian Campbell wrote: > > On Mon, 2014-09-22 at 15:12 +0100, Wei Liu wrote: > > > ... otherwise the guest cannot be created. > > > > is this setting harmful if xsm isn't on? > > > > If XSM is not enabled while guest has seclabel: > > libxl: warning: libxl_create.c:722:initiate_domain_create: XSM Disabled: init_seclabel not supported > > Libxl ignores that field. Everything is still working. Hrm, probably ugly enough to be worth avoiding then, IOW I agree with making this conditional. The reason for editing this post-hoc is that the original came from the the xen-tools debootrap thing, so that aspect seems reasonable too. Ian