qemu-img create: Fix displayed default cluster size
commit99cce9fa4e091fd7ead1926e1c0db016ef293f36
authorKevin Wolf <kwolf@redhat.com>
Tue, 31 May 2011 13:01:46 +0000 (31 15:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2011 09:56:40 +0000 (8 11:56 +0200)
treee38c8c5675a9ab2c5a8e51f6c614decaaadb1aeb
parentd220894e025ea85d604a2cdc1eef541ed516728e
qemu-img create: Fix displayed default cluster size

When not specifying a cluster size on the command line, qemu-img printed
a cluster size of 0:

    Formatting '/tmp/test.qcow2', fmt=qcow2 size=67108864
    encryption=off cluster_size=0

This patch adds the default cluster size to the QEMUOptionParameter list, so
that it displays the default value that is used.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c
block/qcow2.h
block/qed.c
block/vdi.c