Why qemu-kvm is crashing with error "virtio_scsi_ctx_check: Assertion `blk_get_aio_context(d->conf.blk) == s->ctx"

Solution In Progress - Updated -


  • VMs are using Virtio-SCSI disks and the qemu-kvm is crashing with the error below while hot plugging/unplugging the disk.
virtio_scsi_ctx_check: Assertion `blk_get_aio_context(d->conf.blk) == s->ctx
  • The issue is observed in the backup vendor's agent VMs in RHV where there will be lot of disk hot plugging/unplugging happening while doing the backup of VMs.


  • Red Hat Virtualization 4.4.
  • Red Hat Enterprise Linux 8.2.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In