| 911992fd | 24-Oct-2025 |
Kevin Wolf <kwolf@redhat.com> |
qemu-img info: Add cache mode option
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 th
qemu-img info: Add cache mode option
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 <kwolf@redhat.com> Message-ID: <20251024123041.51254-5-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
| c1563952 | 31-May-2025 |
Michael Tokarev <mjt@tls.msk.ru> |
qemu-img: rebase: refresh options/--help (short option change)
Add missing long options and --help output, reorder options for consistency.
Use -B for --backing-format, keep -F for backwards compat
qemu-img: rebase: refresh options/--help (short option change)
Add missing long options and --help output, reorder options for consistency.
Use -B for --backing-format, keep -F for backwards compatibility.
Options added: --format, --cache - for the image in question --backing, --backing-format, --backing-cache, --backing-unsafe - for the new backing file (was eg CACHE vs SRC_CACHE, which is unclear).
Probably should rename local variables.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Message-ID: <20250531171609.197078-19-mjt@tls.msk.ru> [kwolf: Removed command description from the argument list] Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
| 0473674b | 31-May-2025 |
Michael Tokarev <mjt@tls.msk.ru> |
qemu-img: snapshot: make -l (list) the default, simplify option handling
When no -l/-a/-c/-d specified, assume -l (list).
Use the same values for SNAPSHOT_LIST/etc constants as the option chars (la
qemu-img: snapshot: make -l (list) the default, simplify option handling
When no -l/-a/-c/-d specified, assume -l (list).
Use the same values for SNAPSHOT_LIST/etc constants as the option chars (lacd), this makes it possible to simplify option handling a lot, combining cases for 4 options into one.
Also remove bdrv_oflags handling (only list can use RO mode).
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250531171609.197078-17-mjt@tls.msk.ru> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
| e19597bc | 31-May-2025 |
Michael Tokarev <mjt@tls.msk.ru> |
qemu-img: snapshot: allow specifying -f fmt
For consistency with other commands, and since it already accepts --image-opts, allow specifying -f fmt too.
Signed-off-by: Michael Tokarev <mjt@tls.msk.
qemu-img: snapshot: allow specifying -f fmt
For consistency with other commands, and since it already accepts --image-opts, allow specifying -f fmt too.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250531171609.197078-16-mjt@tls.msk.ru> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
| c0227622 | 15-Jul-2025 |
Michael Tokarev <mjt@tls.msk.ru> |
qemu-img: convert: refresh options/--help (short option change)
Add missing long options and --help output.
Reorder options for consistency.
Use -b for --backing, and recognize -B for backwards co
qemu-img: convert: refresh options/--help (short option change)
Add missing long options and --help output.
Reorder options for consistency.
Use -b for --backing, and recognize -B for backwards compatibility. Unfortunately we can't use -B to specify backing format.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Message-ID: <20250715140702.131321-1-mjt@tls.msk.ru> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|