Statistics
| Branch: | Revision:

root / qemu-img-cmds.hx @ feature-archipelago

History | View | Annotate | Download (2.6 kB)

# Date Author Comment
ef80654d 12/04/2013 04:19 pm Wenchao Xia

qemu-img: add -l for snapshot in convert

Now qemu-img convert have similar options as qemu-nbd for internal
snapshot.

Signed-off-by: Wenchao Xia <>
Signed-off-by: Stefan Hajnoczi <>

6f176b48 09/12/2013 11:12 am Max Reitz

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....

4c93a13b 09/06/2013 04:25 pm Paolo Bonzini

qemu-img: add a "map" subcommand

This command dumps the metadata of an entire chain, in either tabular or JSON
format.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

b2e10493 09/06/2013 04:25 pm Alexandre Derumier

add qemu-img convert -n option (skip target volume creation)

Add a -n option to skip volume creation on qemu-img convert.
This is useful for targets such as rbd / ceph, where the
target volume may already exist; we cannot always rely on
qemu-img convert to create the image, as dependent on the...

d14ed18c 02/22/2013 10:21 pm Miroslav Rezanina

qemu-img: Add compare subcommand

This patch adds new qemu-img subcommand that compares content of two disk
images.

Signed-off-by: Miroslav Rezanina <>
Reviewed-by: Kevin Wolf <>
Signed-off-by: Stefan Hajnoczi <>

f382d43a 02/22/2013 10:21 pm Miroslav Rezanina

qemu-img: Add "Quiet mode" option

There can be a need to turn output to stdout off. This patch adds a -q option
that enable "Quiet mode". In Quiet mode, only errors are printed out.

Signed-off-by: Miroslav Rezanina <>
Reviewed-by: Kevin Wolf <>...

8599ea4c 02/22/2013 10:21 pm Federico Simoncelli

qemu-img: add json output option to the check command

This option --output=[human|json] makes qemu-img check output a human
or JSON representation at the choice of the user.

Signed-off-by: Federico Simoncelli <>
Reviewed-by: Eric Blake <>...

e5357560 10/24/2012 11:26 am Kashyap Chamarthy

qemu-img: document 'info --backing-chain'

Signed-off-by: Kashyap Chamarthy <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

c054b3fd 09/12/2012 04:50 pm Benoît Canet

qemu-img: Add json output option to the info command.

This option --output=[human|json] make qemu-img info output on
human or JSON representation at the choice of the user.

example: {
"snapshots": [ {
"vm-clock-nsec": 637102488,
"name": "vm-20120821145509",...

4534ff54 06/15/2012 03:03 pm Kevin Wolf

qemu-img check -r for repairing images

The QED block driver already provides the functionality to not only
detect inconsistencies in images, but also fix them. However, this
functionality cannot be manually invoked with qemu-img, but the
check happens only automatically during bdrv_open()....

3763f26f 12/15/2011 01:40 pm Kevin Wolf

Documentation: Add qemu-img -t parameter in man page

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

a22f123c 08/29/2011 03:42 pm Kevin Wolf

qemu-img: Require larger zero areas for sparse handling

By default, require 4k of consecutive zero bytes for qemu-img to make the
output file sparse by not issuing a write request for the zeroed parts. Add an
-S option to allow users to tune this setting....

aaf55b47 07/20/2011 12:13 pm Jes Sorensen

Add missing documentation for qemu-img -p

Signed-off-by: Jes Sorensen <>
Signed-off-by: Kevin Wolf <>

661a0f71 07/05/2011 12:23 pm Federico Simoncelli

qemu-img: Add cache command line option

qemu-img currently writes disk images using writeback and filling
up the cache buffers which are then flushed by the kernel preventing
other processes from accessing the storage.
This is particularly bad in cluster environments where time-based...

6b837bc4 04/07/2011 02:51 pm Jes Sorensen

qemu-img: Initial progress printing support

This adds the basic infrastructure for supporting progress output
on the command line, as well as progress support for qemu-img commands
'rebase' and 'convert'.

Signed-off-by: Jes Sorensen <>...

51ef6727 10/22/2010 03:49 pm edison

Copy snapshots out of QCOW2 disk

In order to backup snapshots, created from QCOW2 iamge, we want to copy snapshots out of QCOW2 disk to a seperate storage.
The following patch adds a new option in "qemu-img": qemu-img convert -f qcow2 -O qcow2 -s snapshot_name src_img bck_img....

5fb58b06 07/13/2010 06:48 pm Stefan Weil

qemu-img: Fix copy+paste bug in documentation

Replace rebase by resize in documentation of resize command.

Cc: Stefan Hajnoczi <>
Cc: Kevin Wolf <>

Signed-off-by: Stefan Weil <>
Signed-off-by: Kevin Wolf <>

3c4c3210 05/22/2010 11:33 am Jan Kiszka

Fix TEXI section mark imbalance in qemu-img-cmd.hx

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

ae6b0ed6 05/03/2010 11:07 am Stefan Hajnoczi

qemu-img: Add 'resize' command to grow/shrink disk images

This patch adds a 'resize' command to grow/shrink disk images. This
allows changing the size of disk images without copying to a new image
file. Currently only raw files support resize.

Signed-off-by: Stefan Hajnoczi <>...

cb66ffcf 03/15/2010 12:56 am Kevin Wolf

qemu-img rebase: Document -f option

The option was implemented in e53dbee0, but I forgot documenting it.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Christoph Hellwig <>
Signed-off-by: Aurelien Jarno <>

3e85c6fd 01/14/2010 01:14 am Kevin Wolf

qemu-img rebase

This adds a rebase subcommand to qemu-img which allows to change the backing
file of an image.

In default mode, both the current and the new backing file need to exist, and
after the rebase, the COW image is guaranteed to have the same guest visible...

8063d0fe 11/09/2009 04:43 pm Kevin Wolf

Documentation: Don't mention old qemu-img options

The old options are still supported for compatibility, but they are
inconsistent (for example create -b vs. convert -B for backing files) and
incomplete (-F only exists for create) which tends to confuse people. Remove...

153859be 06/07/2009 09:59 am Stuart Brady

Use hxtool for qemu-img command list

Use hxtool to generate the 'command syntax' section of qemu-img's help
message, and the corresponding section of the texinfo documentation.

This has the side-effect of adding 'check' to this list of commands in
the texinfo documentation....