mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
block: Image file option amendment
This patch adds the "amend" option to qemu-img which allows changing image options on existing image files. It also adds the generic bdrv implementation which is basically just a wrapper for the image format specific function. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
56e023af80
commit
6f176b48f9
6 changed files with 108 additions and 0 deletions
|
@ -67,5 +67,11 @@ DEF("resize", img_resize,
|
|||
"resize [-q] filename [+ | -]size")
|
||||
STEXI
|
||||
@item resize [-q] @var{filename} [+ | -]@var{size}
|
||||
ETEXI
|
||||
|
||||
DEF("amend", img_amend,
|
||||
"amend [-q] [-f fmt] -o options filename")
|
||||
STEXI
|
||||
@item amend [-q] [-f @var{fmt}] -o @var{options} @var{filename}
|
||||
@end table
|
||||
ETEXI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue