]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img: add measure subcommand
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 5 Jul 2017 12:57:36 +0000 (13:57 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 11 Jul 2017 15:45:01 +0000 (17:45 +0200)
commitfd03c2b8fbf463f92413ed70a978bf70ebbc74c7
treec289d9d6de38bf8c5a916169596ea1bffeb2eba8
parentc501c35220856621e9677ba9e6a556948d49778e
qemu-img: add measure subcommand

The measure subcommand calculates the size required by a new image file.
This can be used by users or management tools that need to allocate
space on an LVM volume, SAN LUN, etc before creating or converting an
image file.

Suggested-by: Maor Lipchuk <mlipchuk@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20170705125738.8777-8-stefanha@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi