- Xen Management integration
PATCH 1/1 - Xen Management integration
This patch integrates the new access control management tools into 'xm' and 'xend' and supports label/ssid translation support for migration/life-migration/resume.
Signed-off by: Reiner Sailer <[email protected]>
--- tools/python/xen/xend/XendDomain.py | 4 + tools/python/xen/xend/XendDomainInfo.py | 56 ++++++++++++++++------ tools/python/xen/xm/create.py | 81 +++++++++++++++++++++++++++++--- tools/python/xen/xm/main.py | 69 +++++++++++++++++++++++---- 4 files changed, 178 insertions(+), 32 deletions(-)
tools/python/xen/xend/XendDomain.py +3 -1
@@ -38,6 +38,7 @@ from xen.xend.XendError import XendError from xen.xend.XendLogging import log from xen.xend.xenstore.xstransact import xstransact from xen.xend.xenstore.xswatch import xswatch +from xen.util import security xc = xen.lowlevel.xc.xc()
@@ -265,7 +266,7 @@ class XendDomain: # handling in the relocation-socket handling code (relocate.py) is # poor, so we need to log this for debugging. log.exception("Restore failed") - raise + raise XendError("Restore failed") def restore_(self, config):
@@ -283,6 +284,7 @@ class XendDomain: """ self.domains_lock.acquire() try: + security.refresh_ssidref(config) dominfo = XendDomainInfo.restore(config) self._add_domain(dominfo) return dominfo
tools/python/xen/xend/XendDomainInfo.py +42 -14
153 lines not on this page · raw message
tools/python/xen/xm/create.py +74 -7
129 lines not on this page · raw message
tools/python/xen/xm/main.py +59 -10
144 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel