block: add more commands to preconfig mode
commitf55ba8018c60958fa138e251456b0e6fab5e7e63
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Nov 2020 09:37:20 +0000 (3 04:37 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2022 14:50:30 +0000 (14 16:50 +0200)
tree8a1de7940711941bbf4482e69f29899a130231fd
parent39cd0c7f12883ea99c3b321d836cb63b67352621
block: add more commands to preconfig mode

Of the block device commands, those that are available outside system
emulators do not require a fully constructed machine by definition.
Allow running them before machine initialization has concluded.

Of the ones that are available inside system emulation, allow querying
the PR managers, and setting up accounting and throttling.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hmp-commands.hx
qapi/block-core.json
qapi/block-export.json
qapi/block.json