From: Stefan Berger Subject: [PATCH][xend/xen-api] Have the VDI record return the security label Date: Mon, 11 Aug 2008 09:49:21 -0400 Message-ID: <1218462562.3349.1.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-ylwHsGIMbTDz2WpvH2Nw" 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 Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-ylwHsGIMbTDz2WpvH2Nw Content-Type: text/plain Content-Transfer-Encoding: 7bit This patch returns the security label in the VDI record. Signed-off-by: Stefan Berger --=-ylwHsGIMbTDz2WpvH2Nw Content-Disposition: attachment; filename=vdi_return_security_label_in_record.diff Content-Type: text/x-patch; name=vdi_return_security_label_in_record.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/python/xen/xend/XendAPI.py =================================================================== --- root.orig/xen-unstable.hg/tools/python/xen/xend/XendAPI.py +++ root/xen-unstable.hg/tools/python/xen/xend/XendAPI.py @@ -2246,7 +2246,8 @@ class XendAPI(object): 'type': image.type, 'sharable': image.sharable, 'read_only': image.read_only, - 'other_config': image.other_config + 'other_config': image.other_config, + 'security_label' : image.get_security_label() }) # Class Functions --=-ylwHsGIMbTDz2WpvH2Nw Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-ylwHsGIMbTDz2WpvH2Nw--