bitkeeper revision 1.1159.231.8 (41f92d4dBn-4k24hnQtAJIjhmWfRjQ)

Merge changes from 2.0-testing.

Signed-off-by: c@pin.lu
This commit is contained in:
cl349@arcadians.cl.cam.ac.uk committed 2005-01-27 18:05:01 +00:00
commit 2ef6d5718f
14 files changed
+117 -107

No files matched your search

+1 -1
View File
@@ -457,9 +457,9 @@ class XendDomainInfo:
self.init_domain()
self.configure_console()
self.configure_backends()
self.construct_image()
self.configure_restart()
self.configure_backends()
deferred = self.configure()
def cberr(err):
self.destroy()
+4 -2
View File
@@ -140,7 +140,8 @@ class NetDev(controller.SplitDev):
self.ipaddr = self._get_config_ipaddr(config) or []
try:
self.backendDomain = int(sxp.child_value(config, 'backend', '0'))
xd = get_component('xen.xend.XendDomain')
self.backendDomain = int(xd.domain_lookup(sxp.child_value(config, 'backend', '0')).id)
except:
raise XendError('invalid backend domain')
@@ -161,7 +162,8 @@ class NetDev(controller.SplitDev):
bridge = sxp.child_value(config, 'bridge')
script = sxp.child_value(config, 'script')
ipaddr = self._get_config_ipaddr(config)
backendDomain = sxp.child_value(config, 'backend', '0')
xd = get_component('xen.xend.XendDomain')
backendDomain = str(xd.domain_lookup(sxp.child_value(config, 'backend', '0')).id)
if (mac is not None) and (mac != self.mac):
raise XendError("cannot change mac")
if (backendDomain is not None) and (backendDomain != str(self.backendDomain)):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.