c/s 18434 in xen-3.3-testing has a hunk that changes gatherDom() to
_gatherDom() in tools/python/xen/xend/image.py. There is no such
method, thus simple "xm list" fails
jfehlig4: # xm li
Error: _gatherDom
Usage: xm list [options] [Domain, ...]
..
Trivial fix attached. BTW, I don't see this patch in xen-unstable. Why
is this only in xen3.3-testing?
Thanks,
Jim
Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>
diff -r e0e17216ba70 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py Thu Oct 02 10:42:38 2008 +0100
+++ b/tools/python/xen/xend/image.py Wed Oct 08 11:39:05 2008 -0600
@@ -502,7 +502,7 @@ class ImageHandler:
if fifo_fd >= 0:
self._openSentinel(sentinel_path_fifo)
os.close(fifo_fd)
- self.pid = self.vm._gatherDom(('image/device-model-pid', int))
+ self.pid = self.vm.gatherDom(('image/device-model-pid', int))
log.debug("%s device model rediscovered, pid %s sentinel fifo %s",
name, self.pid, sentinel_path_fifo)
self.sentinel_thread =
thread.start_new_thread(self._sentinel_watch,())
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|