[pve-devel] [PATCH] remove qmp socket file on vm_stop_cleanup

Alexandre Derumier aderumier at odiso.com
Fri Aug 24 08:57:45 CEST 2012


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuServer.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 121e8c2..c7e9a07 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -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";
 	}
     };
-- 
1.7.2.5




More information about the pve-devel mailing list