On Thu, Jan 19, 2017 at 05:30:20PM +0100, Peter Lieven wrote: > Hi all, > > > since commit f57b4b5 (blockdev: prepare iSCSI block driver for dynamic > loading) > > qemu-img complains about a missing option group several times. > > > ~/git/qemu$ ./qemu-img info > iscsi://172.21.200.56:3260/iqn.2001-05.com.equallogic:0-8a0906-69d384e0a-aa3004e55e15878d-00lieven-data/0 > qemu-img: There is no option group 'iscsi' > qemu-img: There is no option group 'iscsi' > qemu-img: There is no option group 'iscsi' > qemu-img: There is no option group 'iscsi' > image: > iscsi://172.21.200.56:3260/iqn.2001-05.com.equallogic:0-8a0906-69d384e0a-aa3004e55e15878d-00lieven-data/0 > file format: raw > virtual size: 25G (26848788480 bytes) > disk size: unavailable > cluster_size: 15728640 > > I don't know whats the proper way to fix this?
Move the iscsi option registration out of vl.c and back into a shared file in block/ such that all programs see the options, not just the emulators. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|