mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-04 09:04:39 -07:00
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>
This commit is contained in:
parent
6d9f7839b7
commit
a87706c83a
2 changed files with 19 additions and 11 deletions
|
|
@ -62,7 +62,8 @@
|
|||
# }
|
||||
#
|
||||
##
|
||||
{ 'command': 'query-chardev', 'returns': ['ChardevInfo'] }
|
||||
{ 'command': 'query-chardev', 'returns': ['ChardevInfo'],
|
||||
'allow-preconfig': true }
|
||||
|
||||
##
|
||||
# @ChardevBackendInfo:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue