]> www.infradead.org Git - users/dwmw2/qemu.git/commit
block: Allow recursive "file"s
authorMax Reitz <mreitz@redhat.com>
Fri, 20 Dec 2013 18:28:13 +0000 (19:28 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 22 Jan 2014 11:07:18 +0000 (12:07 +0100)
commit505d758334afcee07eb40aa1b33f2353c612c8ec
tree06f843a3a6a67e545257903a20725f9357bf5e6f
parent054963f8f082695ecb1f169024c83ce3e4eea3d8
block: Allow recursive "file"s

It should be possible to use a format as a driver for a file which in
turn requires another file, i.e., nesting file formats.

Allowing nested file formats results in e.g. qcow2 BlockDriverStates
never being directly passed to bdrv_open_common() from bdrv_file_open(),
but instead being handed through bdrv_open(). This changes the error
message when trying to give a filename to qcow2, i.e. trying to use it
as a driver for the protocol level. Therefore, change the reference
output of I/O test 051 accordingly.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
tests/qemu-iotests/051.out