From mboxrd@z Thu Jan 1 00:00:00 1970 From: INAKOSHI Hiroya Subject: About xm poart of XSM-FLASK Date: Fri, 28 Nov 2008 14:29:35 +0900 Message-ID: <492F81BF.7060602@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, I'm giving a try for XSM-FLASK, but I could not find its xm part in the xen-unstable tree. When I tried to create a guest with FLASK enabled, xm showed the following error and xend had its detail in xend.log: # xm create /etc/xen/guest3_pv Internal error: 'security_label'. In /var/log/xen/xend.log, [2008-11-17 18:27:04 4269] ERROR (XendDomainInfo:470) VM start failed Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 449, in start XendTask.log_progress(0, 30, self._constructDomain) File "//usr/lib/python/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 2084, in _constructDomain ssidref = security.calc_dom_ssidref_from_info(self.info) File "//usr/lib/python/xen/util/xsm/flask/flask.py", line 34, in calc_dom_ssidref_from_info ssidref = label2ssidref(info['security_label'], "", "") KeyError: 'security_label' Obviously, xend requires a security_label through Xen-API. Then I tried to find some codes in xm that handle security_label, but I had no luck. Am I totally incorrect? Is there a way to bring up a guest with a FLASK's security_label assinged? And I'd be happy if someone tells me where any document on FLASK is, since I don't find one in either the xen-unstable tree or the Xen wiki. Regards, Hiroya