summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/files/1721788
blob: 9aba20aac45b025a58f7913f2c8c7bb0f3457914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Failed to get shared "write" lock with 'qemu-img info'

When running 'qemu-img info test.qcow2' while test.qcow2 is currently used by a Qemu process, I get the error

qemu-img: Could not open 'test.qcow2': Failed to get shared "write" lock.


Why does displaying information about a disk image need a write lock for the file?

Steps to reproduce:

qemu-img create -f qcow2 test.qcow2 10M
qemu-system-x86_64 -nographic -drive file=test.qcow2
qemu-img info test.qcow2

The above was tested with Qemu version 2.10.0