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

[Xen-changelog] [xen-unstable] Fix hard tabs.



# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Node ID 2d2f3b824fc3b7416f1be10a4af496c6a905688a
# Parent  550821cdee0ac5fad9b5134eedffa118df4b6e11
Fix hard tabs.

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendCheckpoint.py |    4 ++--
 tools/python/xen/xend/XendDomain.py     |    4 ++--
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff -r 550821cdee0a -r 2d2f3b824fc3 tools/python/xen/xend/XendCheckpoint.py
--- a/tools/python/xen/xend/XendCheckpoint.py   Wed Aug 30 11:39:27 2006 +0100
+++ b/tools/python/xen/xend/XendCheckpoint.py   Wed Aug 30 13:50:08 2006 +0100
@@ -161,8 +161,8 @@ def restore(xd, fd):
         if handler.store_mfn is None or handler.console_mfn is None:
             raise XendError('Could not read store/console MFN')
 
-       #Block until src closes connection
-       os.read(fd, 1)
+        #Block until src closes connection
+        os.read(fd, 1)
         dominfo.unpause()
         
         dominfo.completeRestore(handler.store_mfn, handler.console_mfn)
diff -r 550821cdee0a -r 2d2f3b824fc3 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Wed Aug 30 11:39:27 2006 +0100
+++ b/tools/python/xen/xend/XendDomain.py       Wed Aug 30 13:50:08 2006 +0100
@@ -431,8 +431,8 @@ class XendDomain:
         sock.send("receive\n")
         sock.recv(80)
         XendCheckpoint.save(sock.fileno(), dominfo, True, live, dst)
-       dominfo.testDeviceComplete()
-       sock.close()
+        dominfo.testDeviceComplete()
+        sock.close()
 
     def domain_save(self, domid, dst):
         """Start saving a domain to file.
diff -r 550821cdee0a -r 2d2f3b824fc3 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Aug 30 11:39:27 2006 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Aug 30 13:50:08 2006 +0100
@@ -1494,7 +1494,7 @@ class XendDomainInfo:
             if rc != 0:
                 raise XendError("Device of type '%s' refuses migration." % n)
 
-    def testDeviceComplete(self):
+        def testDeviceComplete(self):
         """ For Block IO migration safety we must ensure that
         the device has shutdown correctly, i.e. all blocks are
         flushed to disk

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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