From: Marc-André Lureau <marcandre.lur...@redhat.com>

The table is no longer used.

Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
---
 monitor.c          |   7 -
 qmp-commands-old.h | 554 -----------------------------------------------------
 2 files changed, 561 deletions(-)
 delete mode 100644 qmp-commands-old.h

diff --git a/monitor.c b/monitor.c
index a2eb228..4deef29 100644
--- a/monitor.c
+++ b/monitor.c
@@ -225,8 +225,6 @@ static int mon_refcount;
 static mon_cmd_t mon_cmds[];
 static mon_cmd_t info_cmds[];
 
-static const mon_cmd_t qmp_cmds[];
-
 Monitor *cur_mon;
 
 static void monitor_command_cb(void *opaque, const char *cmdline,
@@ -2048,11 +2046,6 @@ static mon_cmd_t mon_cmds[] = {
     { NULL, NULL, },
 };
 
-static const mon_cmd_t qmp_cmds[] = {
-#include "qmp-commands-old.h"
-    { /* NULL */ },
-};
-
 /*******************************************************************/
 
 static const char *pch;
diff --git a/qmp-commands-old.h b/qmp-commands-old.h
deleted file mode 100644
index 956157d..0000000
--- a/qmp-commands-old.h
+++ /dev/null
@@ -1,554 +0,0 @@
-    {
-        .name       = "quit",
-        .args_type  = "",
-    },
-    {
-        .name       = "eject",
-        .args_type  = "force:-f,device:B",
-    },
-    {
-        .name       = "change",
-        .args_type  = "device:B,target:F,arg:s?",
-    },
-    {
-        .name       = "screendump",
-        .args_type  = "filename:F",
-    },
-    {
-        .name       = "stop",
-        .args_type  = "",
-    },
-    {
-        .name       = "cont",
-        .args_type  = "",
-    },
-    {
-        .name       = "system_wakeup",
-        .args_type  = "",
-    },
-    {
-        .name       = "system_reset",
-        .args_type  = "",
-    },
-    {
-        .name       = "system_powerdown",
-        .args_type  = "",
-    },
-    {
-        .name       = "device_add",
-        .args_type  = "device:O",
-        .params     = "driver[,prop=value][,...]",
-        .help       = "add device, like -device on the command line",
-    },
-    {
-        .name       = "device_del",
-        .args_type  = "id:s",
-    },
-    {
-        .name       = "send-key",
-        .args_type  = "keys:q,hold-time:i?",
-    },
-    {
-        .name       = "cpu",
-        .args_type  = "index:i",
-    },
-    {
-        .name       = "cpu-add",
-        .args_type  = "id:i",
-    },
-    {
-        .name       = "memsave",
-        .args_type  = "val:l,size:i,filename:s,cpu:i?",
-    },
-    {
-        .name       = "pmemsave",
-        .args_type  = "val:l,size:i,filename:s",
-    },
-    {
-        .name       = "inject-nmi",
-        .args_type  = "",
-    },
-    {
-        .name       = "ringbuf-write",
-        .args_type  = "device:s,data:s,format:s?",
-    },
-    {
-        .name       = "ringbuf-read",
-        .args_type  = "device:s,size:i,format:s?",
-    },
-    {
-        .name       = "xen-save-devices-state",
-        .args_type  = "filename:F",
-    },
-    {
-        .name       = "xen-set-global-dirty-log",
-        .args_type  = "enable:b",
-    },
-    {
-        .name       = "migrate",
-        .args_type  = "detach:-d,blk:-b,inc:-i,uri:s",
-    },
-    {
-        .name       = "migrate_cancel",
-        .args_type  = "",
-    },
-    {
-        .name       = "migrate-incoming",
-        .args_type  = "uri:s",
-    },
-    {
-        .name       = "migrate-set-cache-size",
-        .args_type  = "value:o",
-    },
-    {
-        .name       = "query-migrate-cache-size",
-        .args_type  = "",
-    },
-    {
-        .name       = "migrate_set_speed",
-        .args_type  = "value:o",
-    },
-    {
-        .name       = "migrate_set_downtime",
-        .args_type  = "value:T",
-    },
-    {
-        .name       = "client_migrate_info",
-        .args_type  = 
"protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?",
-        .params     = "protocol hostname port tls-port cert-subject",
-        .help       = "set migration information for remote display",
-    },
-    {
-        .name       = "dump-guest-memory",
-        .args_type  = "paging:b,protocol:s,begin:i?,end:i?,format:s?",
-        .params     = "-p protocol [begin] [length] [format]",
-        .help       = "dump guest memory to file",
-    },
-    {
-        .name       = "query-dump-guest-memory-capability",
-        .args_type  = "",
-    },
-#if defined TARGET_S390X
-    {
-        .name       = "dump-skeys",
-        .args_type  = "filename:F",
-    },
-#endif
-    {
-        .name       = "netdev_add",
-        .args_type  = "netdev:O",
-    },
-    {
-        .name       = "netdev_del",
-        .args_type  = "id:s",
-    },
-    {
-        .name       = "object-add",
-        .args_type  = "qom-type:s,id:s,props:q?",
-    },
-    {
-        .name       = "object-del",
-        .args_type  = "id:s",
-    },
-    {
-        .name       = "block_resize",
-        .args_type  = "device:s?,node-name:s?,size:o",
-    },
-    {
-        .name       = "block-stream",
-        .args_type  = "device:B,base:s?,speed:o?,backing-file:s?,on-error:s?",
-    },
-    {
-        .name       = "block-commit",
-        .args_type  = "device:B,base:s?,top:s?,backing-file:s?,speed:o?",
-    },
-    {
-        .name       = "drive-backup",
-        .args_type  = "sync:s,device:B,target:s,speed:i?,mode:s?,format:s?,"
-                      "bitmap:s?,on-source-error:s?,on-target-error:s?",
-    },
-    {
-        .name       = "blockdev-backup",
-        .args_type  = "sync:s,device:B,target:B,speed:i?,"
-                      "on-source-error:s?,on-target-error:s?",
-    },
-    {
-        .name       = "block-job-set-speed",
-        .args_type  = "device:B,speed:o",
-    },
-
-    {
-        .name       = "block-job-cancel",
-        .args_type  = "device:B,force:b?",
-    },
-    {
-        .name       = "block-job-pause",
-        .args_type  = "device:B",
-    },
-    {
-        .name       = "block-job-resume",
-        .args_type  = "device:B",
-    },
-    {
-        .name       = "block-job-complete",
-        .args_type  = "device:B",
-    },
-    {
-        .name       = "transaction",
-        .args_type  = "actions:q",
-    },
-    {
-        .name       = "block-dirty-bitmap-add",
-        .args_type  = "node:B,name:s,granularity:i?",
-    },
-    {
-        .name       = "block-dirty-bitmap-remove",
-        .args_type  = "node:B,name:s",
-    },
-    {
-        .name       = "block-dirty-bitmap-clear",
-        .args_type  = "node:B,name:s",
-    },
-    {
-        .name       = "blockdev-snapshot-sync",
-        .args_type  = 
"device:s?,node-name:s?,snapshot-file:s,snapshot-node-name:s?,format:s?,mode:s?",
-    },
-    {
-        .name       = "blockdev-snapshot-internal-sync",
-        .args_type  = "device:B,name:s",
-    },
-    {
-        .name       = "blockdev-snapshot-delete-internal-sync",
-        .args_type  = "device:B,id:s?,name:s?",
-    },
-    {
-        .name       = "drive-mirror",
-        .args_type  = "sync:s,device:B,target:s,speed:i?,mode:s?,format:s?,"
-                      "node-name:s?,replaces:s?,"
-                      "on-source-error:s?,on-target-error:s?,"
-                      "unmap:b?,"
-                      "granularity:i?,buf-size:i?",
-    },
-    {
-        .name       = "change-backing-file",
-        .args_type  = "device:s,image-node-name:s,backing-file:s",
-    },
-    {
-        .name       = "balloon",
-        .args_type  = "value:M",
-    },
-    {
-        .name       = "set_link",
-        .args_type  = "name:s,up:b",
-    },
-    {
-        .name       = "getfd",
-        .args_type  = "fdname:s",
-        .params     = "getfd name",
-        .help       = "receive a file descriptor via SCM rights and assign it 
a name",
-    },
-    {
-        .name       = "closefd",
-        .args_type  = "fdname:s",
-        .params     = "closefd name",
-        .help       = "close a file descriptor previously passed via SCM 
rights",
-    },
-     {
-        .name       = "add-fd",
-        .args_type  = "fdset-id:i?,opaque:s?",
-        .params     = "add-fd fdset-id opaque",
-        .help       = "Add a file descriptor, that was passed via SCM rights, 
to an fd set",
-    },
-     {
-        .name       = "remove-fd",
-        .args_type  = "fdset-id:i,fd:i?",
-        .params     = "remove-fd fdset-id fd",
-        .help       = "Remove a file descriptor from an fd set",
-    },
-    {
-        .name       = "query-fdsets",
-        .args_type  = "",
-        .help       = "Return information describing all fd sets",
-    },
-    {
-        .name       = "block_passwd",
-        .args_type  = "device:s?,node-name:s?,password:s",
-    },
-    {
-        .name       = "block_set_io_throttle",
-        .args_type  = 
"device:B,bps:l,bps_rd:l,bps_wr:l,iops:l,iops_rd:l,iops_wr:l,bps_max:l?,bps_rd_max:l?,bps_wr_max:l?,iops_max:l?,iops_rd_max:l?,iops_wr_max:l?,iops_size:l?,group:s?",
-    },
-    {
-        .name       = "set_password",
-        .args_type  = "protocol:s,password:s,connected:s?",
-    },
-    {
-        .name       = "expire_password",
-        .args_type  = "protocol:s,time:s",
-    },
-    {
-        .name       = "add_client",
-        .args_type  = "protocol:s,fdname:s,skipauth:b?,tls:b?",
-    },
-    {
-        .name       = "qmp_capabilities",
-        .args_type  = "",
-        .help       = "enable QMP capabilities",
-    },
-    {
-        .name       = "human-monitor-command",
-        .args_type  = "command-line:s,cpu-index:i?",
-    },
-    {
-        .name       = "query-version",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-commands",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-events",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-qmp-schema",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-chardev",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-chardev-backends",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-block",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-blockstats",
-        .args_type  = "query-nodes:b?",
-    },
-    {
-        .name       = "query-cpus",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-iothreads",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-pci",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-kvm",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-status",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-mice",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-vnc",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-vnc-servers",
-        .args_type  = "",
-    },
-#if defined(CONFIG_SPICE)
-    {
-        .name       = "query-spice",
-        .args_type  = "",
-    },
-#endif
-    {
-        .name       = "query-name",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-uuid",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-command-line-options",
-        .args_type  = "option:s?",
-    },
-    {
-        .name       = "query-migrate",
-        .args_type  = "",
-    },
-    {
-        .name       = "migrate-set-capabilities",
-        .args_type  = "capabilities:q",
-        .params     = "capability:s,state:b",
-    },
-    {
-        .name       = "query-migrate-capabilities",
-        .args_type  = "",
-    },
-    {
-        .name       = "migrate-set-parameters",
-        .args_type  =
-            "compress-level:i?,compress-threads:i?,decompress-threads:i?",
-    },
-    {
-        .name       = "query-migrate-parameters",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-balloon",
-        .args_type  = "",
-    },
-
-    {
-        .name       = "query-block-jobs",
-        .args_type  = "",
-    },
-
-    {
-        .name       = "qom-list",
-        .args_type  = "path:s",
-    },
-
-    {
-        .name       = "qom-set",
-       .args_type  = "path:s,property:s,value:q",
-    },
-
-    {
-        .name       = "qom-get",
-       .args_type  = "path:s,property:s",
-    },
-
-    {
-        .name       = "nbd-server-start",
-        .args_type  = "addr:q",
-    },
-    {
-        .name       = "nbd-server-add",
-        .args_type  = "device:B,writable:b?",
-    },
-    {
-        .name       = "nbd-server-stop",
-        .args_type  = "",
-    },
-
-    {
-        .name       = "change-vnc-password",
-        .args_type  = "password:s",
-    },
-    {
-        .name       = "qom-list-types",
-        .args_type  = "implements:s?,abstract:b?",
-    },
-
-    {
-        .name       = "device-list-properties",
-        .args_type  = "typename:s",
-    },
-
-    {
-        .name       = "query-machines",
-        .args_type  = "",
-    },
-
-    {
-        .name       = "query-cpu-definitions",
-        .args_type  = "",
-    },
-
-    {
-        .name       = "query-target",
-        .args_type  = "",
-    },
-
-    {
-        .name       = "query-tpm",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-tpm-models",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-tpm-types",
-        .args_type  = "",
-    },
-    {
-        .name       = "chardev-add",
-        .args_type  = "id:s,backend:q",
-    },
-    {
-        .name       = "chardev-remove",
-        .args_type  = "id:s",
-    },
-    {
-        .name       = "query-rx-filter",
-        .args_type  = "name:s?",
-    },
-    {
-        .name       = "blockdev-add",
-        .args_type  = "options:q",
-    },
-    {
-        .name       = "query-named-block-nodes",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-memdev",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-memory-devices",
-        .args_type  = "",
-    },
-    {
-        .name       = "query-acpi-ospm-status",
-        .args_type  = "",
-    },
-#if defined TARGET_I386
-    {
-        .name       = "rtc-reset-reinjection",
-        .args_type  = "",
-    },
-#endif
-    {
-        .name       = "trace-event-get-state",
-        .args_type  = "name:s",
-    },
-    {
-        .name       = "trace-event-set-state",
-        .args_type  = "name:s,enable:b,ignore-unavailable:b?",
-    },
-    {
-        .name       = "x-input-send-event",
-        .args_type  = "console:i?,events:q",
-    },
-    {
-        .name       = "block-set-write-threshold",
-        .args_type  = "node-name:s,write-threshold:l",
-    },
-    {
-        .name       = "query-rocker",
-        .args_type  = "name:s",
-    },
-    {
-        .name       = "query-rocker-ports",
-        .args_type  = "name:s",
-    },
-    {
-        .name       = "query-rocker-of-dpa-flows",
-        .args_type  = "name:s,tbl-id:i?",
-    },
-    {
-        .name       = "query-rocker-of-dpa-groups",
-        .args_type  = "name:s,type:i?",
-    },
-- 
2.4.3


Reply via email to