]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/QMPClient.pm
remove left-over mentions of to-be-dropped, outdated QMP commands
[qemu-server.git] / PVE / QMPClient.pm
index b4cdcf620f141ba35fc90dc5d1d394fa666ac3f8..ef5c19b3302f2f65b28f66651d7ac9e3c61765d2 100644 (file)
@@ -12,7 +12,7 @@ use Time::HiRes qw(usleep gettimeofday tv_interval);
 use PVE::IPCC;
 use PVE::QemuServer::Helpers;
 
-# Qemu Monitor Protocol (QMP) client.
+# QEMU Monitor Protocol (QMP) client.
 #
 # This implementation uses IO::Multiplex (libio-multiplex-perl) and
 # allows you to issue qmp and qga commands to different VMs in parallel.
@@ -126,16 +126,16 @@ sub cmd {
            $cmd->{execute} eq 'block-job-complete' ||
            $cmd->{execute} eq 'backup-cancel' ||
            $cmd->{execute} eq 'query-savevm' ||
-           $cmd->{execute} eq 'delete-drive-snapshot' ||
            $cmd->{execute} eq 'guest-fstrim' ||
            $cmd->{execute} eq 'guest-shutdown' ||
            $cmd->{execute} eq 'blockdev-snapshot-internal-sync' ||
-           $cmd->{execute} eq 'blockdev-snapshot-delete-internal-sync' ||
-           $cmd->{execute} eq 'snapshot-drive'
+           $cmd->{execute} eq 'blockdev-snapshot-delete-internal-sync'
         ) {
            $timeout = 10*60; # 10 mins ?
        } else {
-           $timeout = 3; # default
+           #  NOTE: if you came here as user and want to change this, try using IO-Threads first
+           # which move out quite some processing of the main thread, leaving more time for QMP
+           $timeout = 5; # default
        }
     }