]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commit
qemu-xen: Fix extendable images iwj.block-rw-rangecheck
authorIan Jackson <iwj@mariner.uk.xensource.com>
Wed, 2 Jul 2008 17:38:07 +0000 (18:38 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 2 Jul 2008 17:38:07 +0000 (18:38 +0100)
commita19e5de002fc176951701b1af14225bac6a4badd
tree6d903ed18b2df4d8bc889a6a95e42e6a811c3f68
parentab29271f0917d276245388f4016633bbe0c67f65
qemu-xen: Fix extendable images

bdrv_file_open should specify raw image format instead of
guessing. This fixes a segfault when bdrv_open2 wants to access
drv->flags. bdrv_file_open is used at least by qcow2.

Additionally, move the extensible flag from bdrv_host_device to
bdrv_raw. qcow2 wants to open the image file as an extensible file.

Signed-off-by: Kevin Wolf <kwolf@suse.de>
block-raw-posix.c
block-raw-win32.c
block.c