fix stopall

This commit is contained in:
Dietmar Maurer 2011-11-29 11:14:26 +01:00
parent f325c6d625
commit bbbe5146ff
3 changed files with 9 additions and 8 deletions

View File

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

View File

@ -2689,13 +2689,8 @@ sub vm_stopall {
foreach my $vmid (keys %$vzlist) {
next if !$vzlist->{$vmid}->{pid};
eval { vm_shutdown($storecfg, $vmid, 1); };
my $err = $@;
if ($err) {
warn $err;
} else {
delete $cleanuphash->{$vmid};
}
eval { vm_monitor_command($vmid, "system_powerdown"); };
warn $@ if $@;
}
my $wt = 5;

View File

@ -1,3 +1,9 @@
qemu-server (2.0-9) unstable; urgency=low
* fix 'qm stopall'
-- Proxmox Support Team <support@proxmox.com> Tue, 29 Nov 2011 11:14:01 +0100
qemu-server (2.0-8) unstable; urgency=low
* be more careful when removing snapshots