]> git.proxmox.com Git - qemu-server.git/commit
collect device list for nested pci-bridges
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 12 Apr 2018 15:04:56 +0000 (17:04 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 13 Apr 2018 12:44:22 +0000 (14:44 +0200)
commitf721624b8ea9b2550a22a172aa7ec5ad08bc7f37
tree4d63ab35b1b48706c07a7ede680d973a58c70291
parent3807f3e4ee72cf73a3412cd6e2418315b3ddab66
collect device list for nested pci-bridges

when using q35 as machine type, there are nested pci-bridges,
but we only checked the first layer

this resulted in not being able to hotplug scsi devices,
because scsihw0 was deeper in the pci-bridge construct, we did not see
it and tried to add it (which fails of course)

this patch checks all bridges, regardless how deeply nested they are

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuServer.pm