Comment 3 for bug 1046356

Revision history for this message
wangpan (hzwangpan) wrote :

I have an idea, we can use the ID of domain in libvirt to recognize the hard reboot has been implemented or not, because the ID will be +1 when instance was destroyed and start again.
During the soft reboot, we get the domain ID every waiting loop, and check it is changed or not, if changed, we believe a hard reboot has done and ignore this soft reboot.
Vish, can you give me any more suggestions?