[pve-devel] [PATCH 1/6] qmpclient : block-job-(complete|cancel) : set timeout to 10min

Alexandre Derumier aderumier at odiso.com
Wed Oct 26 10:23:56 CEST 2016


like query-block-jobs.

qmp socket can be busy when block job are running

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

diff --git a/PVE/QMPClient.pm b/PVE/QMPClient.pm
index a527ffc..b524b14 100755
--- a/PVE/QMPClient.pm
+++ b/PVE/QMPClient.pm
@@ -114,6 +114,8 @@ sub cmd {
 		 $cmd->{execute} eq 'savevm-end' ||
 		 $cmd->{execute} eq 'query-backup' ||
 		 $cmd->{execute} eq 'query-block-jobs' ||
+		 $cmd->{execute} eq 'block-job-cancel' ||
+		 $cmd->{execute} eq 'block-job-complete' ||
 		 $cmd->{execute} eq 'backup-cancel' ||
 		 $cmd->{execute} eq 'query-savevm' ||
 		 $cmd->{execute} eq 'delete-drive-snapshot' || 
-- 
2.1.4




More information about the pve-devel mailing list