disable hotplug by default

This reverts commit 6c52b6794e

Testing revealed that this has too many side effect, so we do not want
to change that for the 2.3 release.
This commit is contained in:
Dietmar Maurer 2013-02-22 09:52:45 +01:00
parent 23b4120bc8
commit 2dbe827e38
3 changed files with 10 additions and 4 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.3
VERSION=2.3
PACKAGE=qemu-server
PKGREL=11
PKGREL=12
DESTDIR=
PREFIX=/usr

View File

@ -167,7 +167,7 @@ my $confdesc = {
optional => 1,
type => 'boolean',
description => "Allow hotplug for disk and network device",
default => 1,
default => 0,
},
reboot => {
optional => 1,
@ -2519,7 +2519,7 @@ sub vm_deviceplug {
return 1;
}
return 1 if defined($conf->{hotplug}) && !$conf->{hotplug};
return 1 if !$conf->{hotplug};
my $devices_list = vm_devices_list($vmid);
return 1 if defined($devices_list->{$deviceid});
@ -2586,7 +2586,7 @@ sub vm_deviceunplug {
return 1;
}
return 1 if defined($conf->{hotplug}) && !$conf->{hotplug};
return 1 if !$conf->{hotplug};
my $devices_list = vm_devices_list($vmid);
return 1 if !defined($devices_list->{$deviceid});

View File

@ -1,3 +1,9 @@
qemu-server (2.3-12) unstable; urgency=low
* disable hotplug by default (revert previous change)
-- Proxmox Support Team <support@proxmox.com> Fri, 22 Feb 2013 09:52:13 +0100
qemu-server (2.3-11) unstable; urgency=low
* fix backup parameters for pve-qemu-kvm 1.4-4