5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-02-01 05:47:18 +03:00

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>
(cherry picked from commit 6cb2338f5338b47b960b71e0bcd1dd08ca5b8054)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Alexandre Derumier 2023-09-29 10:28:58 +02:00 committed by Thomas Lamprecht
parent a6bc3e031e
commit 878be3a1f0

View File

@ -8312,7 +8312,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 {