summaryrefslogtreecommitdiff
path: root/sysutils/xentools20/patches/patch-au
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools20/patches/patch-au')
-rw-r--r--sysutils/xentools20/patches/patch-au17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/xentools20/patches/patch-au b/sysutils/xentools20/patches/patch-au
new file mode 100644
index 00000000000..490a8ebcc84
--- /dev/null
+++ b/sysutils/xentools20/patches/patch-au
@@ -0,0 +1,17 @@
+$NetBSD: patch-au,v 1.1 2005/08/19 13:06:31 bouyer Exp $
+
+--- python/xen/xend/XendDomain.py.orig 2005-08-13 01:54:56.000000000 -0400
++++ python/xen/xend/XendDomain.py 2005-08-13 01:55:17.000000000 -0400
+@@ -147,7 +147,10 @@
+ domid = str(d['dom'])
+ doms[domid] = d
+ dlist = []
+- for config in self.domain_db.values():
++ domkeys = map(int, self.domain_db.keys())
++ domkeys.sort()
++ for domkey in domkeys:
++ config = self.domain_db.get(str(domkey))
+ domid = str(sxp.child_value(config, 'id'))
+ if domid in doms:
+ d_dom = self._new_domain(config, doms[domid])
+