mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-11 21:12:35 +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);
|
||||
};
|
||||
|
||||
if (my $migrate_downtime =
|
||||
$conf->{migrate_downtime} || $defaults->{migrate_downtime}) {
|
||||
my $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}";
|
||||
eval { vm_monitor_command($vmid, $cmd); };
|
||||
}
|
||||
|
@ -1,6 +1,8 @@
|
||||
qemu-server (2.0-38) unstable; urgency=low
|
||||
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user