aboutsummaryrefslogtreecommitdiff
path: root/qapi/char.json
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2018-06-20 16:39:44 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2018-06-21 12:49:12 +0100
commita87706c83a0101d59eb8dafe998152bbd66aeec8 (patch)
tree7ad1bdcab755fd715691dd1b22c17ce753c7185b /qapi/char.json
parent6d9f7839b7e6c364536d22beb2ca1277772813a6 (diff)
qmp: Enable a few commands in preconfig state
Commands query-chardev, query-version, query-name, query-uuid, query-iothreads, query-memdev are informational and do not depend on the machine being initialized. Make them available in preconfig runstate to make the latter a little bit more useful. The generic qom commands don't depend on the machine being initialized either; so enabled qom-list, qom-get, qom-set, qom-list-types, qom-list-properties. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20180620153947.30834-5-dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'qapi/char.json')
-rw-r--r--qapi/char.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi/char.json b/qapi/char.json
index ae19dcd1ed..60f31d83fc 100644
--- a/qapi/char.json
+++ b/qapi/char.json
@@ -62,7 +62,8 @@
# }
#
##
-{ 'command': 'query-chardev', 'returns': ['ChardevInfo'] }
+{ 'command': 'query-chardev', 'returns': ['ChardevInfo'],
+ 'allow-preconfig': true }
##
# @ChardevBackendInfo: