Am 29.05.2013 um 10:41 hat Fam Zheng geschrieben:
> We may want to include a driver in the whitelist for read only tasks
> such as diagnosing or exporting guest data (with libguestfs as a good
> example). This patch introduces a readonly whitelist option, and for
> backward compatibility, the old configure option --block-drv-whitelist
> is now an alias to rw whitelist.
> 
> Drivers in readonly list is only permitted to open file readonly, and
> returns -ENOTSUP for RW opening.
> 
> E.g. To include vmdk readonly, and others read+write:
>     ./configure --target-list=x86_64-softmmu \
>                 --block-drv-rw-whitelist=qcow2,raw,file,qed \
>                 --block-drv-ro-whitelist=vmdk
> 
> Signed-off-by: Fam Zheng <f...@redhat.com>

Sorry, I'll have to drop the patch again:

  CC    hw/block/xen_disk.o
hw/block/xen_disk.c: In function 'blk_connect':
hw/block/xen_disk.c:799:25: error: too few arguments to function 
'bdrv_find_whitelisted_format'
In file included from /home/kwolf/source/qemu/include/sysemu/blockdev.h:13:0,
                 from hw/block/xen_disk.c:41:
/home/kwolf/source/qemu/include/block/block.h:127:14: note: declared here

Should be trivial to fix, though.

Kevin

Reply via email to