Open PAI5REECHO opened 2 years ago
5 minutes is a rather long time to wait for guest VMs to shutdown. I'd like to configure my libvirt to reduce the graceful shutdown wait time but it currently isn't possible. https://github.com/NixOS/nixpkgs/blob/602292f93d610fd52e7fa61e30e283123cf38a72/pkgs/development/libraries/libvirt/default.nix#L320-L325 https://github.com/NixOS/nixpkgs/blob/602292f93d610fd52e7fa61e30e283123cf38a72/nixos/modules/virtualisation/libvirtd.nix#L356-L357
Steps to reproduce the behavior:
Ability to shorten the SHUTDOWN_TIMEOUT time
SHUTDOWN_TIMEOUT
@fpletz @globin @lovesegfault
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m" - system: `"x86_64-linux"` - host os: `Linux 5.17.1, NixOS, 22.05 (Quokka), 22.05.20220426.e10da1c` - multi-user?: `yes` - sandbox: `yes` - version: `nix-env (Nix) 2.9.0pre20220428_4bb111c`
Also PARALLEL_SHUTDOWN isn't configurable either
PARALLEL_SHUTDOWN
Not stale
Describe the bug
5 minutes is a rather long time to wait for guest VMs to shutdown. I'd like to configure my libvirt to reduce the graceful shutdown wait time but it currently isn't possible. https://github.com/NixOS/nixpkgs/blob/602292f93d610fd52e7fa61e30e283123cf38a72/pkgs/development/libraries/libvirt/default.nix#L320-L325 https://github.com/NixOS/nixpkgs/blob/602292f93d610fd52e7fa61e30e283123cf38a72/nixos/modules/virtualisation/libvirtd.nix#L356-L357
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ability to shorten the
SHUTDOWN_TIMEOUT
timeNotify maintainers
@fpletz @globin @lovesegfault
Metadata