qemu-io: add flag to mark files growable
authorChristoph Hellwig <hch@lst.de>
Fri, 10 Jul 2009 11:33:47 +0000 (13:33 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 17:25:36 +0000 (12:25 -0500)
commit83d8480c13713ac500528b4a25840f2cbbcf1a62
treee7abea856abc7fe883d06696ae253ca6daaa520e
parent41f16946353f7948d728abb43bede9400a31ec41
qemu-io: add flag to mark files growable

Add a -g flag to the open command and the main qemu-io command line to
allow opening a file growable.  This is only allowed for protocols,
mirroring the limitation exposed through bdrv_file_open.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c