Bug 903928

Summary: RHEL7 storage migration related commands should much closer RHEL not upstream
Product: Red Hat Enterprise Linux 7 Reporter: juzhang <juzhang>
Component: qemu-kvmAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, hhuang, michen, pbonzini, qzhang, shu, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-29 13:50:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 895240    

Description juzhang 2013-01-25 04:47:38 UTC
Description of problem:
KVM QE compared the list of cmd line and devices difference between rhel6.4 and rhel7.0. Found lot of storage migration related commands are different. From KVM QE POV,  RHEL7 storage migration related commands  should much closer RHEL not upstream.

Version-Release number of selected component (if applicable):
Host Kernel
#uname -r
3.7.0-0.30.el7.x86_64
qemu-kvm version
qemu-kvm-1.3.0-3.el7.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Storage vmotion related commands
RHEL6.4
block-stream(copy data from a backing file into a block device)
block-job-cancel(stop an active block streaming operation)
block-job-set-speed
blockdev-snapshot-sync
__com.redhat_drive-mirror
__com.redhat_drive-reopen
 __com.redhat_block-commit

RHEL7.0
block_stream(copy data from a backing file into a block device)
block_job_cancel(stop an active block streaming operation)
block_job_set_speed
no blockdev-snapshot-sync command on rhel7.0
no __com.redhat_drive-mirror  on rhel7.0
no __com.redhat_drive-reopen on rhel7.0
no __com.redhat_block-commit on rhel7.0
Added three commands on rhel7.0, do we support? How to use?
     block_job_pause
     block_job_resume 
     block_job_complete

Expected results:
 RHEL7 storage migration related commands  should much closer RHEL not upstream

Additional info:

Comment 1 Paolo Bonzini 2013-01-29 13:50:43 UTC
The commands that were introduced in RHEL are a little different from the ones upstream, but we are not going to forward-port the RHEL6 changes.  There are improvements in the upstream versions and those are the versions that libvirt uses, too.

The new commands in RHEL7 are:

- snapshot_blkdev, drive_mirror, block_commit for HMP
- blockdev-snapshot-sync, drive-mirror, block-commit for QMP
- block_job_complete (HMP) and block-job-complete (QMP) replace __com.redhat_drive-reopen