direct-io.hg

changeset 11291:2d2f3b824fc3

Fix hard tabs.

Signed-off-by: Steven Hand <steven@xensource.com>
author Steven Hand <steven@xensource.com>
date Wed Aug 30 13:50:08 2006 +0100 (2006-08-30)
parents 550821cdee0a
children a39ad4c78850
files tools/python/xen/xend/XendCheckpoint.py tools/python/xen/xend/XendDomain.py tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendCheckpoint.py	Wed Aug 30 11:39:27 2006 +0100
     1.2 +++ b/tools/python/xen/xend/XendCheckpoint.py	Wed Aug 30 13:50:08 2006 +0100
     1.3 @@ -161,8 +161,8 @@ def restore(xd, fd):
     1.4          if handler.store_mfn is None or handler.console_mfn is None:
     1.5              raise XendError('Could not read store/console MFN')
     1.6  
     1.7 -	#Block until src closes connection
     1.8 -	os.read(fd, 1)
     1.9 +        #Block until src closes connection
    1.10 +        os.read(fd, 1)
    1.11          dominfo.unpause()
    1.12          
    1.13          dominfo.completeRestore(handler.store_mfn, handler.console_mfn)
     2.1 --- a/tools/python/xen/xend/XendDomain.py	Wed Aug 30 11:39:27 2006 +0100
     2.2 +++ b/tools/python/xen/xend/XendDomain.py	Wed Aug 30 13:50:08 2006 +0100
     2.3 @@ -431,8 +431,8 @@ class XendDomain:
     2.4          sock.send("receive\n")
     2.5          sock.recv(80)
     2.6          XendCheckpoint.save(sock.fileno(), dominfo, True, live, dst)
     2.7 -	dominfo.testDeviceComplete()
     2.8 -	sock.close()
     2.9 +        dominfo.testDeviceComplete()
    2.10 +        sock.close()
    2.11  
    2.12      def domain_save(self, domid, dst):
    2.13          """Start saving a domain to file.
     3.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Aug 30 11:39:27 2006 +0100
     3.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Aug 30 13:50:08 2006 +0100
     3.3 @@ -1494,7 +1494,7 @@ class XendDomainInfo:
     3.4              if rc != 0:
     3.5                  raise XendError("Device of type '%s' refuses migration." % n)
     3.6  
     3.7 -    def testDeviceComplete(self):
     3.8 +        def testDeviceComplete(self):
     3.9          """ For Block IO migration safety we must ensure that
    3.10          the device has shutdown correctly, i.e. all blocks are
    3.11          flushed to disk