Red Hat Bugzilla – Bug 808114
streaming with no backing file should not do anything
Last modified: 2013-05-21 09:00:42 EDT
Description of problem:
Streaming an image with no backing file wastes time copying the whole image onto itself.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install to qcow2
2. start QEMU
3. do block_stream virtio0
Streaming job runs
Streaming job ends immediately
Also related, streaming should not even start if the image format does not support bdrv_change_backing_file.
Can reproduce with qemu-kvm-267.el6ev.
1.boot guest with qcow2
(qemu) info block-jobs
Streaming device virtio0: Completed 12817137664 of 21474836480 bytes, speed limit 0 bytes/s
Deferred to 7.0 (bug 965636).