On Fri, Jun 26, 2026 at 01:19:26AM +0400, Marc-André Lureau wrote:
> Add an x-qemu-io QMP command that runs qemu-io commands on block
> devices. The command accepts a device name (block backend name,
> node-name, or qdev ID) and a qemu-io command string.
> 
> Refactor hmp_qemu_io() to be a thin wrapper around the new QMP
> command, following the standard HMP-over-QMP pattern used by other
> block commands.
> 
> Signed-off-by: Marc-André Lureau <[email protected]>
> ---
>  qapi/block.json                | 34 ++++++++++++++++++
>  block/monitor/block-hmp-cmds.c | 60 ++------------------------------
>  block/monitor/qmp-cmds.c       | 79 
> ++++++++++++++++++++++++++++++++++++++++++
>  block/monitor/meson.build      |  1 +
>  4 files changed, 117 insertions(+), 57 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|


Reply via email to