This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
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 2236504 - [qemu-kvm] Enable zstd support for qcow2 files
Summary: [qemu-kvm] Enable zstd support for qcow2 files
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Kevin Wolf
QA Contact: Tingting Mao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-31 13:35 UTC by Richard W.M. Jones
Modified: 2024-01-21 04:26 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-22 16:31:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-7361 0 None Migrated None 2023-09-22 16:36:11 UTC
Red Hat Issue Tracker RHELPLAN-167064 0 None None None 2023-09-04 00:03:37 UTC

Description Richard W.M. Jones 2023-08-31 13:35:13 UTC
Description of problem:

qcow2 supports compressed images.  The default is zlib, but zstd is
also supported upstream.  However zstd compression is not enabled
in RHEL qemu-kvm at all, meaning that we cannot create, open etc
qcow2 zstd-compressed images.

Fedora and other distributions may switch to zstd compression for
qcow2, and this will create an interoperability issue in future.

Version-Release number of selected component (if applicable):

qemu-img-8.0.0-7.el9.x86_64

How reproducible:

100%

Steps to Reproduce:

$ qemu-img create -f qcow2 test.qcow2 1G -o compression_type=zstd
Formatting 'test.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zstd size=1073741824 lazy_refcounts=off refcount_bits=16
qemu-img: test.qcow2: Parameter 'compression-type' does not accept value 'zstd'

On Fedora this works:

$ qemu-img create -f qcow2 test.qcow2 1G -o compression_type=zstd
Formatting 'test.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zstd size=1073741824 lazy_refcounts=off refcount_bits=16

Comment 1 Richard W.M. Jones 2023-08-31 13:36:30 UTC
The change to the spec file is trivial, just use:

--enable-zstd

However there is an issue that this enables zstd-compressed live migration
support, which we do not wish to support (although zlib-compressed live
migration is already enabled and unsupported).

Comment 2 Vivek Goyal 2023-09-05 18:57:13 UTC
Kevin WDYT? I am wondering that is it worth taking extra maintenance burden at this point of time. Who is planning to create and distribute zstd compressed images.

Comment 3 RHEL Program Management 2023-09-22 16:29:11 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 4 Red Hat Bugzilla 2024-01-21 04:26:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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