bitkeeper revision 1.1159.90.2 (415be9d5hTw1zLV9fA-AYcekmwhMwg)

Discard devices early for local migrate.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-09-30 11:11:17 +00:00
1 parent 1acfc9cfbc
commit 513a304d7e
1 file changed
+5
+5
View File
@@ -295,6 +295,11 @@ class XendMigrateInfo(XfrdInfo):
eserver.inject('xend.domain.migrate',
[ self.dominfo.name, self.dominfo.id,
"begin", self.sxpr() ])
# Special case for localhost: destroy all devices early.
if 0 and self.dst_host in ["localhost", "127.0.0.1"]:
self.dominfo.restart_cancel()
self.dominfo.cleanup()
#self.dominfo.destroy_console()
xfrd.request(['xfr.migrate',
self.src_dom,
vmconfig,
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.