[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] fix 3.3-testing c/s 18434


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Jim Fehlig <jfehlig@xxxxxxxxxx>
  • Date: Wed, 08 Oct 2008 11:47:49 -0600
  • Delivery-date: Wed, 08 Oct 2008 10:48:30 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.