Skip to content

8.0.0: Crash when attempting to commit snapshot

Host environment

  • Operating system: Slackware 15.0
  • OS/kernel version: 6.1.23 #1 SMP PREEMPT_DYNAMIC
  • Architecture: x86-64
  • QEMU flavor: qemu-system-x86_64
  • QEMU version: 8.0.0 and git-6dd06214
  • QEMU command line:

qemu-system-x86_64 -device driver=virtio-scsi-pci,id=virtio-scsi-1,iothread=iothread-1 -device driver=scsi-hd,drive=os,bus=virtio-scsi-1.0,channel=0,scsi-id=0,lun=0 -drive aio=native,cache=none,file=drive.img,format=raw,id=os,if=none,media=disk -M q35 -object id=iothread-1,qom-type=iothread -S -snapshot

Emulated/Virtualized environment

  • Operating system: Linux Mint 21.1
  • OS/kernel version: 5.15.0-70-generic #77-Ubuntu SMP
  • Architecture: x86-64

Description of problem

When trying to commit a snapshot to the backing store, qemu exits with the error:

qemu: qemu_mutex_unlock_impl: Operation not permitted

Steps to reproduce

  1. Run qemu command above
  2. Open the monitor virtual console (Ctrl-Alt-2)
  3. Execute command: commit os

Additional information

Attached are the backtrace and the configure output. This is a regression from 7.2.1

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information