remove qmp socket file on vm_stop_cleanup

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2012-08-24 08:57:45 +02:00 committed by Dietmar Maurer
parent 4723c1749c
commit eb26097ef4

View File

@ -2899,7 +2899,7 @@ sub vm_stop_cleanup {
PVE::Storage::deactivate_volumes($storecfg, $vollist);
}
foreach my $ext (qw(mon pid vnc)) {
foreach my $ext (qw(mon qmp pid vnc)) {
unlink "/var/run/qemu-server/${vmid}.$ext";
}
};