Is Cassowary slowing system shutdown ? #124
-
Hello, I had my splash screen disabled by accident and saw the following : It's been a long time since I noticed how much time my system takes to shut down, yet I thought it was a power management thing like I had on previous systems. But this log mentions libvirt so I'm supposing it's due to Cassowary. Am I right ? How to fix it ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Seems to be libvirt witing for vm (that was started by cassowary) to shutdown ! What distribution are you on ? |
Beta Was this translation helpful? Give feedback.
-
Thanks for feedback ! I'll see if i can i can fix this issue in a reliable way ! Changing libvirt config will impact other VMs that are not related to cassowary, which may cause unexpected issues. So, maybe i can setup cassowary itself to trigger a guest shutdown when host is shutting down ! |
Beta Was this translation helpful? Give feedback.
Sorry for being late !
The issue from what i guess is due to some windows application being action and since windows presents a confirmation dialog when application are running which cannot be confirmed when host is shutting own causing the script to wait for too long !
Download and run the linked .reg file in windows VM to disable this behaviour which should fix this issue : https://casualsnek.eu.org/shared/DISABLE_END_DIALOG_ON_ACPI_POWEROFF.reg
If that does not work, edit SHUTDOWN_TIMEOUT=300 to something smaller like SHUTDOWN_TIMEOUT=10 at /usr/lib/libvirt/libvirt-guests.sh. This should allow for a quicker shutdown !