ia64/xen-unstable

changeset 11614:fd13d7150dd6

[TOOLS] Wait for backend devices to set up before resuming execution
of a restored guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Sep 25 09:11:52 2006 +0100 (2006-09-25)
parents c81eb1ccdce5
children 4b6284d2c11c
files tools/python/xen/xend/XendCheckpoint.py
line diff
     1.1 --- a/tools/python/xen/xend/XendCheckpoint.py	Sun Sep 24 10:14:17 2006 +0100
     1.2 +++ b/tools/python/xen/xend/XendCheckpoint.py	Mon Sep 25 09:11:52 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 +        os.read(fd, 1)           # Wait for source to close connection
    1.10 +        dominfo.waitForDevices() # Wait for backends to set up
    1.11          dominfo.unpause()
    1.12          
    1.13          dominfo.completeRestore(handler.store_mfn, handler.console_mfn)