Bug 1975941 - qemu-img convert: unshare write permission for source
Summary: qemu-img convert: unshare write permission for source
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: ---
Assignee: Kevin Wolf
QA Contact: Tingting Mao
URL:
Whiteboard:
Depends On: 1975940 1997408
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-24 19:17 UTC by Xueqiang Wei
Modified: 2021-12-07 22:40 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1975940
Environment:
Last Closed: 2021-09-17 07:57:20 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Xueqiang Wei 2021-06-24 19:19:19 UTC
Versions:
kernel-5.13.0-0.rc3.25.el9.x86_64
qemu-kvm-6.0.0-3.el9

Comment 2 Klaus Heinrich Kiwi 2021-06-28 19:41:27 UTC
Similar questions to https://bugzilla.redhat.com/show_bug.cgi?id=1975940#c1

Comment 4 John Ferlan 2021-09-09 11:56:05 UTC
Update w/ qemu-6.1 rebase information.

Comment 5 Tingting Mao 2021-09-10 06:00:44 UTC
Verified this bug as below.


Tested env:
qemu-kvm-6.1.0-1.el9
kernel-modules-5.14.0-0.rc7.54.el9.x86_64


Steps:
# qemu-img create -f raw test.img 2G

# qemu-img convert -p -f raw -O raw -S 0 test.img test.img
qemu-img: test.img: error while converting raw: Failed to get "write" lock
Is another process using the image [test.img]?


Results:
As above, the image is locked.


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