On 10/7/26 11:36, Thomas Huth wrote:
From: Thomas Huth <[email protected]>
Other command line options like "-chardev", "-netdev" or "-device"
already present the user with a list of available parameters, but
when running "-blockdev help", there is currently only an error
message. There is already the possibility to run "-drive format=help",
but it does not seem to be documented, so this is not very useful
for the average user. Let's improve this situation by providing
the same list of available drivers when running QEMU with
"-blockdev help".
Signed-off-by: Thomas Huth <[email protected]>
---
include/block/block-common.h | 1 +
blockdev.c | 15 ++++++++++-----
system/vl.c | 7 +++++--
3 files changed, 16 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>