Github user karuturi commented on the pull request:

    https://github.com/apache/cloudstack/pull/930#issuecomment-148077678
  
    I think this issue is happening due to the outer while loops which got 
introduced in commit 50d756e87d26f0ac86e7897505ad2747735c4d5c
    The outer loop waits until cmd is not empty and this causes infinite loop 
in case of reboot.
    Do we really need the outer while loop?
    In the current scenario, there may be still chances for the outer while 
loop to go infinitely. Can we atleast wait for finite amount of time like the 
java one does? (commit 4eedfe53fcbab1d47b09eacaca1d803b67b6c4d2 )
    as per comments on CLOUDSTACK-2823 this affects only if qemu version is < 
1.1.0
    may be we dont require this looping any more?  @ustcweizhou  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to