RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1122925 - Maintain relative path to backing file image during live merge (block-commit)
Summary: Maintain relative path to backing file image during live merge (block-commit)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: ---
Assignee: Jeff Cody
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1061827
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-24 12:18 UTC by Jan Kurik
Modified: 2022-07-09 06:45 UTC (History)
21 users (show)

Fixed In Version: qemu-kvm-rhev-1.5.3-60.el7_0.10
Doc Type: Bug Fix
Doc Text:
Clone Of: 1061827
Environment:
Last Closed: 2014-10-20 17:20:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1670 0 normal SHIPPED_LIVE Low: qemu-kvm-rhev security and bug fix update 2014-10-20 21:20:00 UTC

Description Jan Kurik 2014-07-24 12:18:37 UTC
This bug has been copied from bug #1061827 and has been proposed
to be backported to 7.0 z-stream (EUS).

Comment 8 Miroslav Rezanina 2014-09-12 07:59:54 UTC
Moving to qemu-kvm component as we track 7.0.z qemu-kvm-rhev with it. qemu-kvm-rhev component is used for 7.1 and newer only.

Comment 10 Miroslav Rezanina 2014-09-29 14:00:41 UTC
Fix included in qemu-kvm-1.5.3-60.el7_0.10

Comment 12 Shaolong Hu 2014-09-30 06:42:30 UTC
Verify with qemu-kvm-rhev-1.5.3-60.el7_0.10.x86_64:

1. test "backing-file" option of block stream:

with Base->sn1->sn2->sn3:

absolute path:

{ "execute": "block-stream", "arguments": { "device": "drive-virtio-disk0", "base": "/root/nfs/RHEL-Server-7.0-64-virtio.qcow2", "speed": 1000000000,  "backing-file": "/root/nfs/RHEL-Server-7.0-64-virtio.qcow2"} }

info block:

(qemu) info block
drive-virtio-disk0: removable=0 io-status=ok file=/root/sn3 backing_file=/root/nfs/RHEL-Server-7.0-64-virtio.qcow2 backing_file_depth=1 ro=0 drv=qcow2 encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0

relative path:

{ "execute": "block-stream", "arguments": { "device": "drive-virtio-disk0", "base": "/root/nfs/RHEL-Server-7.0-64-virtio.qcow2", "speed": 1000000000,  "backing-file": "./nfs/RHEL-Server-7.0-64-virtio.qcow2"} }

(qemu) info block
drive-virtio-disk0: removable=0 io-status=ok file=/root/sn3 backing_file=./nfs/RHEL-Server-7.0-64-virtio.qcow2 backing_file_depth=1 ro=0 drv=qcow2 encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0


2. test "backing-file" option of block commit:

with Base->sn1->sn2->sn3:

absolute path:

{ "execute": "block-commit", "arguments": { "device": "drive-virtio-disk0", "base": "/root/nfs/RHEL-Server-7.0-64-virtio.qcow2", "top": "/root/sn2", "speed": 1000000000, "backing-file": "/root/nfs/RHEL-Server-7.0-64-virtio.qcow2"} }

(qemu) info block
drive-virtio-disk0: removable=0 io-status=ok file=/root/sn3 backing_file=/root/nfs/RHEL-Server-7.0-64-virtio.qcow2 backing_file_depth=1 ro=0 drv=qcow2 encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0

relative path:

{ "execute": "block-commit", "arguments": { "device": "drive-virtio-disk0", "base": "/root/nfs/RHEL-Server-7.0-64-virtio.qcow2", "top": "/root/sn2", "speed": 1000000000, "backing-file": "./nfs/RHEL-Server-7.0-64-virtio.qcow2"} }

(qemu) info block
drive-virtio-disk0: removable=0 io-status=ok file=/root/sn3 backing_file=./nfs/RHEL-Server-7.0-64-virtio.qcow2 backing_file_depth=1 ro=0 drv=qcow2 encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0

3. the NULL function "__com.redhat_change-backing-file":

{ "execute": "__com.redhat_change-backing-file", "arguments": { "device": "drive-virtio-disk0", "image-node-name": "123",  "backing-file": "./nfs/RHEL-Server-7.0-64-virtio.qcow2"} }
{"error": {"class": "GenericError", "desc": "this feature or command is not currently supported"}}


Verified.

Comment 13 Eric Blake 2014-10-07 23:03:41 UTC
See bug 1150322 for the libvirt counterpart needed to drive this.

Comment 14 dyuan 2014-10-11 02:46:28 UTC
Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1150322#c4 for the libvirt test result.

Comment 16 errata-xmlrpc 2014-10-20 17:20:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-1670.html


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