-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QEMU: Fix for deadlock on VM delete.
It seems that libvirt can sometimes deadlock if two threads simultaneously try to close the console log stream and delete (undefine) the VM. I am not sure if this is intended behavior or not. This change changes the node shutdown flow, so that the console log is fully closed before attempting to undefine the VM. Hopefully this will prevent the deadlock. The watchdog timer has been kept in case there are other ways this deadlock can occur.
- Loading branch information
1 parent
5d6deb7
commit 56c4437
Showing
4 changed files
with
56 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters