remove timeouts from 'qemu-img snapshot' commands.

Those commands can take several minutes on larger files.
This commit is contained in:
Dietmar Maurer
2012-11-02 08:52:50 +01:00
parent 4ff42fd691
commit 3f13fd7dc3
3 changed files with 10 additions and 4 deletions

View File

@ -520,7 +520,7 @@ sub volume_snapshot {
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-c', $snap, $path];
run_command($cmd, timeout => 30);
run_command($cmd);
return undef;
}
@ -534,7 +534,7 @@ sub volume_snapshot_rollback {
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-a', $snap, $path];
run_command($cmd, timeout => 30);
run_command($cmd);
return undef;
}
@ -550,7 +550,7 @@ sub volume_snapshot_delete {
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-d', $snap, $path];
run_command($cmd, timeout => 30);
run_command($cmd);
return undef;
}