nbd-stop: increase timeout to 25s

This can seemingly need a bit longer than expected, and better than
erroring out on migration is to wait a bit longer.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Alexandre Derumier 2023-09-29 10:28:58 +02:00 committed by Thomas Lamprecht
parent 1dcbfc4661
commit 6cb2338f53

View File

@ -8268,7 +8268,7 @@ sub generate_smbios1_uuid {
sub nbd_stop {
my ($vmid) = @_;
mon_cmd($vmid, 'nbd-server-stop');
mon_cmd($vmid, 'nbd-server-stop', timeout => 25);
}
sub create_reboot_request {