Fix hard tabs.

Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
Steven Hand committed 2006-08-30 13:50:08 +01:00
1 parent 458052b5ec
commit 8a8378e8df
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -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)
+2 -2
View File
@@ -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.
+1 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.