Need to reset device model pid on reboot

Without this, xend will not spawn a new device model process after the reboot.

Signed-off-by: Ke Yu <ke.yu@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-08-11 21:04:17 +00:00
1 parent ca21e61a00
commit 66c1bb81a1
1 file changed
+1
+1
View File
@@ -642,6 +642,7 @@ class XendDomainInfo:
pass
if self.image:
try:
self.device_model_pid = 0
self.image.destroy()
self.image = None
except:
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.