mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-12 11:55:18 +00:00
fix bug #147: allow to set migrate_downtime to 0
This commit is contained in:
parent
084d6a59bd
commit
71c11a8301
@ -2585,8 +2585,9 @@ sub vm_start {
|
|||||||
vm_monitor_command($vmid, $cmd);
|
vm_monitor_command($vmid, $cmd);
|
||||||
};
|
};
|
||||||
|
|
||||||
if (my $migrate_downtime =
|
my $migrate_downtime = $defaults->{migrate_downtime};
|
||||||
$conf->{migrate_downtime} || $defaults->{migrate_downtime}) {
|
$migrate_downtime = $conf->{migrate_downtime} if defined($conf->{migrate_downtime});
|
||||||
|
if (defined($migrate_downtime)) {
|
||||||
my $cmd = "migrate_set_downtime ${migrate_downtime}";
|
my $cmd = "migrate_set_downtime ${migrate_downtime}";
|
||||||
eval { vm_monitor_command($vmid, $cmd); };
|
eval { vm_monitor_command($vmid, $cmd); };
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,8 @@ qemu-server (2.0-38) unstable; urgency=low
|
|||||||
|
|
||||||
* add directsync cache mode
|
* add directsync cache mode
|
||||||
|
|
||||||
|
* fix bug #147: allow to set migrate_downtime to 0
|
||||||
|
|
||||||
-- Proxmox Support Team <support@proxmox.com> Wed, 11 Apr 2012 08:51:56 +0200
|
-- Proxmox Support Team <support@proxmox.com> Wed, 11 Apr 2012 08:51:56 +0200
|
||||||
|
|
||||||
qemu-server (2.0-37) unstable; urgency=low
|
qemu-server (2.0-37) unstable; urgency=low
|
||||||
|
Loading…
Reference in New Issue
Block a user