]> git.proxmox.com Git - qemu.git/commit - qemu-io.c
qemu-io: use BDRV_O_FILE to implement the growable open option
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Jul 2009 21:11:21 +0000 (23:11 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Jul 2009 22:28:50 +0000 (17:28 -0500)
commit1db6947dafa7f33a309130ccbf461748adac6da0
treeee4e04904ede795295071cb8e74e03336594c292
parent087389847207063df194a1b85ff907f54dd51d0a
qemu-io: use BDRV_O_FILE to implement the growable open option

Instead of doing our own check for protocols which fails because raw isn't
formally a protocol but special cased in find_protocol specify the BDRV_O_FILE
option to use the same code as bdrv_file_open does.

While we're at it also add the missing documentation for -g to the main
qemu-io help string.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-io.c