correctly remove cdrom and iscsi devices

This commit is contained in:
Dietmar Maurer 2012-02-15 10:48:55 +01:00
parent a4788a6e14
commit 49f9db93c0
3 changed files with 9 additions and 2 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=qemu-server
PKGREL=16
PKGREL=17
DESTDIR=
PREFIX=/usr

View File

@ -596,9 +596,10 @@ my $delete_drive = sub {
} else {
PVE::QemuServer::add_unused_volume($conf, $volid, $vmid);
}
delete $conf->{$key};
}
}
delete $conf->{$key};
};
my $vmconfig_delete_option = sub {

View File

@ -1,3 +1,9 @@
qemu-server (2.0-17) unstable; urgency=low
* fix cdrom removal bug
-- Proxmox Support Team <support@proxmox.com> Wed, 15 Feb 2012 10:48:30 +0100
qemu-server (2.0-16) unstable; urgency=low
* ignore -tdf (avoid kvm warning) - this is no longer needed