Am 16.09.2025 um 07:48 hat Bin Guo geschrieben:
> According to writing-monitor-commands.rst, best practice is to
> use the 'hmp_handle_error' function, which ensures that the
> message gets an 'Error: ' prefix.
>
> Signed-off-by: Bin Guo <[email protected]>
> if (!blk_legacy_dinfo(blk)) {
> - error_report("Deleting device added with blockdev-add"
> + error_setg(&err, "Deleting device added with blockdev-add"
> " is not supported");
> goto unlock;
> }
Thanks, fixed up the indentation here and applied to the block branch.
Kevin