Bug 808114 - streaming with no backing file should not do anything
Summary: streaming with no backing file should not do anything
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 806280 965636
TreeView+ depends on / blocked
 
Reported: 2012-03-29 15:47 UTC by Paolo Bonzini
Modified: 2013-05-21 13:00 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 965636 (view as bug list)
Environment:
Last Closed: 2013-05-21 13:00:42 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Paolo Bonzini 2012-03-29 15:47:31 UTC
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):
qemu-kvm 267rhev

How reproducible:
100%

Steps to Reproduce:
1. install to qcow2
2. start QEMU
3. do block_stream virtio0
  
Actual results:
Streaming job runs

Expected results:
Streaming job ends immediately

Additional info:
Also related, streaming should not even start if the image format does not support bdrv_change_backing_file.

Comment 1 juzhang 2012-03-31 03:05:27 UTC
Can reproduce with qemu-kvm-267.el6ev.

1.boot guest with qcow2
2.block_stream virtio0
3.info block-jobs

Resutls
(qemu) info block-jobs 
Streaming device virtio0: Completed 12817137664 of 21474836480 bytes, speed limit 0 bytes/s

Comment 4 Paolo Bonzini 2013-05-21 13:00:42 UTC
Deferred to 7.0 (bug 965636).


Note You need to log in before you can comment on or make changes to this bug.