search for: dom0_id

Displaying 2 results from an estimated 2 matches for "dom0_id".

Did you mean: dom0_ip
2012 Sep 21
1
PATCH [base vtpm and libxl patches 3/6] Fix bugs in vtpm hotplug scripts
...evice(self, config): + #Disable hotplug scripts if backend is not dom0 + import xen.xend.XendDomain + xd = xen.xend.XendDomain.instance() + backdom_name = config.get(''backend'') + if backdom_name is None: + backdom = xen.xend.XendDomain.DOM0_ID + else: + bd = xd.domain_lookup_nr(backdom_name) + backdom = bd.getDomid() + + if backdom != xen.xend.XendDomain.DOM0_ID: + self.hotplug = False + + return DevController.createDevice(self, config) + def getDeviceDetails(self, config): &quot...
2008 Feb 28
0
[PATCH] Fix error message of xm suspend for Domain-0
...XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Tue Feb 26 15:11:51 2008 +0000 +++ b/tools/python/xen/xend/XendDomain.py Thu Feb 28 14:23:39 2008 +0900 @@ -865,7 +865,7 @@ class XendDomain: raise XendInvalidDomain(domname) if dominfo.getDomid() == DOM0_ID: - raise XendError("Cannot save privileged domain %s" % domname) + raise XendError("Cannot suspend privileged domain %s" % domname) if dominfo._stateGet() != DOM_STATE_RUNNING: raise VMBadState("Domain is not run...