qmp: Enable a few commands in preconfig state
authorIgor Mammedov <imammedo@redhat.com>
Wed, 20 Jun 2018 15:39:44 +0000 (16:39 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 21 Jun 2018 11:49:12 +0000 (12:49 +0100)
commita87706c83a0101d59eb8dafe998152bbd66aeec8
tree7ad1bdcab755fd715691dd1b22c17ce753c7185b
parent6d9f7839b7e6c364536d22beb2ca1277772813a6
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>
qapi/char.json
qapi/misc.json