qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1721788] Re: Failed to get shared "write" lock with 'qemu-img info'


From: Jan Heidbrink
Subject: [Bug 1721788] Re: Failed to get shared "write" lock with 'qemu-img info'
Date: Thu, 22 Apr 2021 08:14:13 -0000

** Description changed:

  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?
+ 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
+ The above was tested with Qemu version 2.10.0. Edit: Same behaviour with
+ version 5.2.0.

** Changed in: qemu
       Status: Incomplete => New

** Description changed:

  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. Edit: Same behaviour with
- version 5.2.0.
+ The above was tested with Qemu version 2.10.0.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1721788

Title:
  Failed to get shared "write" lock with 'qemu-img info'

Status in QEMU:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1721788/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]