qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1912846] Re: Assertion hit on hot-unplugging virtio iommu enabled d


From: Thomas Huth
Subject: [Bug 1912846] Re: Assertion hit on hot-unplugging virtio iommu enabled device
Date: Fri, 30 Apr 2021 09:02:10 -0000

Fixed here:
https://gitlab.com/qemu-project/qemu/-/commit/f6ab64c05f8a6229bf6

** Changed in: qemu
       Status: New => Fix Released

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

Title:
  Assertion hit on hot-unplugging virtio iommu enabled device

Status in QEMU:
  Fix Released

Bug description:
  From commit ("2d24a646 device-core: use RCU for
  list of children of a bus") an assertion is hit when
  removing a iommu aware virtio device, since as->listeners
  are not properly removed. To reproduce:

  /home/qemu/build/x86_64-softmmu/qemu-system-x86_64 -qmp 
tcp:0:4444,server,nowait ... \
      -netdev tap,id=hostnet0,vhostforce=on,vhost=on \
      -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:14:18:cc,bus=pci.1,addr=0x0,iommu_platform=on,ats=on

  In QMP:
  {'execute': 'qmp_capabilities'}
  {"execute": "device_del", "arguments": {"id": "net0"} }

  And crash:
  ../softmmu/memory.c:2818: do_address_space_destroy: Assertion 
`QTAILQ_EMPTY(&as->listeners)' failed.

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



reply via email to

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