summary refs log tree commit diff stats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2018-06-20 16:39:45 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2018-06-21 13:16:48 +0100
commit8c7c7ecbb1e5e9325b736906a4368b76a68d0eae (patch)
tree901f4d91fb5c4b0e197ebd68503a7f8aa7065a97 /hmp-commands.hx
parenta87706c83a0101d59eb8dafe998152bbd66aeec8 (diff)
downloadfocaccia-qemu-8c7c7ecbb1e5e9325b736906a4368b76a68d0eae.tar.gz
focaccia-qemu-8c7c7ecbb1e5e9325b736906a4368b76a68d0eae.zip
hmp: Add commands for preconfig
Allow a bunch of the info commands to be used in preconfig.

version, chardev, name, uuid,memdev, iothreads
  Were enabled in QMP in the previous patch from Igor

status, hotpluggable_cpus
  Was enabled in the original allow-preconfig series

history
  is HMP specific

qom-tree
  Don't have a QMP equivalent

Also enable the qom commands qom-list and qom-set.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20180620153947.30834-6-dgilbert@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Dropped info numa as per Igor's 2018-06-21 review
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx3
1 files changed, 3 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 7ce991f4dd..4acf6a3222 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1828,6 +1828,7 @@ ETEXI
         .params     = "path",
         .help       = "list QOM properties",
         .cmd        = hmp_qom_list,
+        .flags      = "p",
     },
 
 STEXI
@@ -1841,6 +1842,7 @@ ETEXI
         .params     = "path property value",
         .help       = "set QOM property",
         .cmd        = hmp_qom_set,
+        .flags      = "p",
     },
 
 STEXI
@@ -1855,6 +1857,7 @@ ETEXI
         .help       = "show various information about the system state",
         .cmd        = hmp_info_help,
         .sub_table  = info_cmds,
+        .flags      = "p",
     },
 
 STEXI