On Fri, Oct 24, 2025 at 02:30:40PM +0200, Kevin Wolf wrote:
> When querying block limits, different cache modes (in particular
> O_DIRECT or not) can result in different limits. Add an option to
> 'qemu-img info' that allows the user to specify a cache mode, so that
> they can get the block limits for the cache mode they intend to use with
> their VM.
> 
> Signed-off-by: Kevin Wolf <[email protected]>
> ---
>  docs/tools/qemu-img.rst |  2 +-
>  qemu-img.c              | 25 +++++++++++++++++++++----
>  qemu-img-cmds.hx        |  4 ++--
>  3 files changed, 24 insertions(+), 7 deletions(-)
>

Reviewed-by: Eric Blake <[email protected]>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization:  qemu.org | libguestfs.org


Reply via email to