mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-06 13:41:54 +00:00
fix stopall
This commit is contained in:
parent
f325c6d625
commit
bbbe5146ff
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.0
|
||||
|
||||
VERSION=2.0
|
||||
PACKAGE=qemu-server
|
||||
PKGREL=8
|
||||
PKGREL=9
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user