diff options
author | Wangpan <hzwangpan@corp.netease.com> | 2013-01-08 13:54:19 +0800 |
---|---|---|
committer | Wangpan <hzwangpan@corp.netease.com> | 2013-01-09 19:05:51 +0800 |
commit | 6344bff494758e0d7d7d25f43a3b56d82447441e (patch) | |
tree | c8deb240befcdc8a4a087fd45e75a5c09171a55e /nova/utils.py | |
parent | 1db4b13d86d748d9619ea9ce37bb4663285468b5 (diff) | |
download | nova-6344bff494758e0d7d7d25f43a3b56d82447441e.tar.gz nova-6344bff494758e0d7d7d25f43a3b56d82447441e.tar.xz nova-6344bff494758e0d7d7d25f43a3b56d82447441e.zip |
Fix double reboot issue during soft reboot
Using the ID of domain in Libvirt to recognize the hard reboot has been
implemented or not, if the ID changed, we believe the domain has been rebooted,
return True and break from soft reboot.
Fixes: bug #1046356
Change-Id: Iec2f9e8225cfe2779f84d2095667f3c0e621e935
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions