mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-22 22:03:55 +03:00
QMP client: sort commands with 10 minutes timeout alphabetically
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
bb600b7bf2
commit
c7c2e4dbd1
@ -119,19 +119,19 @@ sub cmd {
|
||||
# that are executed upon thaw, so use 3 minutes to be on the safe side.
|
||||
$timeout = 3 * 60;
|
||||
} elsif (
|
||||
$cmd->{execute} eq 'savevm-start' ||
|
||||
$cmd->{execute} eq 'savevm-end' ||
|
||||
$cmd->{execute} eq 'query-backup' ||
|
||||
$cmd->{execute} eq 'drive-mirror' ||
|
||||
$cmd->{execute} eq 'query-block-jobs' ||
|
||||
$cmd->{execute} eq 'backup-cancel' ||
|
||||
$cmd->{execute} eq 'blockdev-snapshot-delete-internal-sync' ||
|
||||
$cmd->{execute} eq 'blockdev-snapshot-internal-sync' ||
|
||||
$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 'drive-mirror' ||
|
||||
$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 'query-backup' ||
|
||||
$cmd->{execute} eq 'query-block-jobs' ||
|
||||
$cmd->{execute} eq 'query-savevm' ||
|
||||
$cmd->{execute} eq 'savevm-end' ||
|
||||
$cmd->{execute} eq 'savevm-start'
|
||||
) {
|
||||
$timeout = 10*60; # 10 mins
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user