|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [TOOLS] Wait for backend devices to set u
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID fd13d7150dd61f172ab792218ff5e61b765ec5b3
# Parent c81eb1ccdce5f5ef8059deda71dc11b43c8687bb
[TOOLS] Wait for backend devices to set up before resuming execution
of a restored guest.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
tools/python/xen/xend/XendCheckpoint.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r c81eb1ccdce5 -r fd13d7150dd6 tools/python/xen/xend/XendCheckpoint.py
--- a/tools/python/xen/xend/XendCheckpoint.py Sun Sep 24 10:14:17 2006 +0100
+++ b/tools/python/xen/xend/XendCheckpoint.py Mon Sep 25 09:11:52 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)
+ os.read(fd, 1) # Wait for source to close connection
+ dominfo.waitForDevices() # Wait for backends to set up
dominfo.unpause()
dominfo.completeRestore(handler.store_mfn, handler.console_mfn)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [TOOLS] Wait for backend devices to set up before resuming execution,
Xen patchbot-unstable <=
|
|
|
|
|