Displaying 1 result from an estimated 1 matches for "adominfo".
Did you mean:
dominfo
2007 May 04
0
[PATCH] 3/4 "nemesis" scheduling domains for Xen
...m, sdom):
+ """ Ad an activation domain to a scheduling domain.
+
+ @param adom: activation domain ID
+ @type adom: int or string
+ @param sdom: scheduling domain ID
+ @type sdom: int or string
+ @rtype: 0
+ """
+ adominfo = self.domain_lookup_nr(adom)
+ if not adominfo:
+ raise XendInvalidDomain(str(adom))
+ sdominfo = self.domain_lookup_nr(sdom)
+ if not sdominfo:
+ raise XendInvalidDomain(str(sdom))
+ try:
+ return xc.add_adom(adom, sdom)
+ except...