Bug 2336437 - qemu-img fails to create LUKS volume: Unable to get accurate CPU usage
Summary: qemu-img fails to create LUKS volume: Unable to get accurate CPU usage
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-08 17:54 UTC by Richard W.M. Jones
Modified: 2025-01-09 12:31 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-09 12:31:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2025-01-08 17:54:21 UTC
$ qemu-img create -f luks --object secret,data=123456,id=sec0 -o key-secret=sec0 luks-info.img 1M
Formatting 'luks-info.img', fmt=luks size=1048576 key-secret=sec0
qemu-img: luks-info.img: Unable to get accurate CPU usage

This was previously reported by Debian:
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg2003148.html
and by upstream qemu:
https://lore.kernel.org/qemu-devel/ffe542bb-310c-4616-b0ca-13182f849fd1@redhat.com/
but I don't believe there was any resolution yet.

Reproducible: Always

Comment 1 Richard W.M. Jones 2025-01-08 17:58:15 UTC
Dan spotted that the Debian bug is x86_64, so this is not s390x specific.

Comment 2 Richard W.M. Jones 2025-01-08 18:59:32 UTC
Proposed patch:
https://lists.gnu.org/archive/html/qemu-devel/2025-01/msg01071.html

Comment 3 Daniel Berrangé 2025-01-09 12:31:41 UTC
Built in qemu-9.2.0-3.fc42


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