]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Don't pass 'iso' format to qemu-img
authorCole Robinson <crobinso@redhat.com>
Mon, 6 Mar 2017 21:50:53 +0000 (16:50 -0500)
committerCole Robinson <crobinso@redhat.com>
Tue, 7 Mar 2017 15:58:25 +0000 (10:58 -0500)
commit0e5db76262729e4c199e62c6cb00c90391073b4e
tree49ea80499277158094cde29983af1c4acb7e1896
parent3ffea19acd602dfec156a9ae21b4c412de3cea29
storage: Don't pass 'iso' format to qemu-img

$ virsh vol-clone /tmp/test.iso new.iso
error: Failed to clone vol from test.iso
error: internal error: Child process (/bin/qemu-img convert -f iso -O iso /tmp/test.iso /tmp/new.iso) unexpected exit status 1: qemu-img: Could not open '/tmp/test.iso': Unknown driver 'iso'

Map iso->raw before sending the format value to qemu-img

https://bugzilla.redhat.com/show_bug.cgi?id=972784
https://bugzilla.redhat.com/show_bug.cgi?id=1419395
src/storage/storage_util.c