code cleanup, bump version to 2.0-44

This commit is contained in:
Dietmar Maurer 2012-07-16 06:59:53 +02:00
parent 80b2cbd1b9
commit 522c8f97d7
3 changed files with 11 additions and 4 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.1
VERSION=2.0 VERSION=2.0
PACKAGE=qemu-server PACKAGE=qemu-server
PKGREL=43 PKGREL=44
DESTDIR= DESTDIR=
PREFIX=/usr PREFIX=/usr

View File

@ -177,9 +177,10 @@ sub sync_disks {
my $volhash = {}; my $volhash = {};
my $cdromhash = {}; my $cdromhash = {};
my $ids = $self->{storecfg}->{ids}; my @sids = PVE::Storage::storage_ids($self->{storecfg});
foreach my $storeid (keys %$ids) { foreach my $storeid (@sids) {
next if $ids->{$storeid}->{shared}; my $scfg = PVE::Storage::storage_config($self->{storecfg}, $storeid);
next if $scfg->{shared};
# get list from PVE::Storage (for unused volumes) # get list from PVE::Storage (for unused volumes)
my $dl = PVE::Storage::vdisk_list($self->{storecfg}, $storeid, $vmid); my $dl = PVE::Storage::vdisk_list($self->{storecfg}, $storeid, $vmid);
PVE::Storage::foreach_volid($dl, sub { PVE::Storage::foreach_volid($dl, sub {

View File

@ -1,3 +1,9 @@
qemu-server (2.0-44) unstable; urgency=low
* migrate: only scan necessary storage for unused volumes
-- Proxmox Support Team <support@proxmox.com> Mon, 16 Jul 2012 06:59:23 +0200
qemu-server (2.0-43) unstable; urgency=low qemu-server (2.0-43) unstable; urgency=low
* use new QMPClient code * use new QMPClient code