mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-06 13:17:56 +03:00
remove left-over mentions of to-be-dropped, outdated QMP commands
The commands snapshot-drive and delete-drive-snapshot have been unused
by qemu-server since commit eba2b721
("use qemu's blockdev-snapshot
functions") and are now going to be dropped in our QEMU builds too, so
get rid of these left-overs.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
3e546c5ada
commit
5674d19810
@ -126,12 +126,10 @@ 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 {
|
||||
|
@ -328,9 +328,6 @@ sub qmp_cmd {
|
||||
my ($vmid, $cmd) = @_;
|
||||
|
||||
my $exec = $cmd->{execute};
|
||||
if ($exec eq "delete-drive-snapshot") {
|
||||
return;
|
||||
}
|
||||
if ($exec eq "guest-ping") {
|
||||
die "guest-ping disabled\n"
|
||||
if !$vm_mon->{guest_ping};
|
||||
|
Loading…
Reference in New Issue
Block a user