mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
6fe9e35610
QEMU allows and in cases where you omit the not-strictly-needed 'raw' driver on top of raw images automatically uses the protocol name inside of the 'backing file format' field of the qcow2 image. Libvirt expects only format names in that field. Add example images showing this scenario, which will be fixed later. The qcow2 image files in this commit were formatted as: qemu-img create -f qcow2 -F nbd -b nbd+tcp://example.org:6000/blah -u qcow2-protocol-backing-nbd.qcow2 10M and qemu-img create -f qcow2 -F file -b raw qcow2-protocol-backing-file.qcow2 thus using 'nbd' and 'file' as backing format respectively. (note that '-b raw' refers to the file in the example image folder) To satisfy the test, note that the NBD image is also rejected as we can't probe it, thus such configuration would not work. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> |
||
---|---|---|
.. | ||
sub | ||
loop-1.qcow2 | ||
loop-2.qcow2 | ||
loop-self.qcow2 | ||
qcow2 | ||
qcow2_nbd-raw.qcow2 | ||
qcow2_qcow2-auto_qcow2-auto.qcow2 | ||
qcow2_qcow2-auto.qcow2 | ||
qcow2_qcow2-missing.qcow2 | ||
qcow2_qcow2-qcow2_qcow2-auto.qcow2 | ||
qcow2_qcow2-qcow2_raw-auto.qcow2 | ||
qcow2_qcow2-qcow2-symlink_raw-raw-reldir.qcow2 | ||
qcow2_raw-auto.qcow2 | ||
qcow2_raw-raw-relative.qcow2 | ||
qcow2_raw-raw-reldir.qcow2 | ||
qcow2-protocol-backing-file.qcow2 | ||
qcow2-protocol-backing-nbd.qcow2 | ||
qed_raw-raw-relative | ||
raw |