mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
AddressManager::move_bar() acquires the device_tree mutex. The function is called from PciConfigIo::config_space_write()/ PciConfigMmio::config_space_write() while the pci_bus mutex is acquired. The functions DeviceManager::pci_resources()/eject_device() acquire these mutexes in reverse order, which leads to a deadlock. Fixes: #6775 Signed-off-by: Alexandru Matei <alexandru.matei@uipath.com>