mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Add extra PCIe root ports to enable q35 device hotplug to work out of the box. A typical modern linux guest has 7-8 PCI devices added by default, so this gives plenty of wiggle room. The smart thing to do would be to count the attached PCI devices and add 4-5 extra, but that takes more work and isn't trivial. The number can be overridden on the cli with: --controller q35_pcie_root_ports=X Use =0 to go back to the old behavior. Signed-off-by: Cole Robinson <crobinso@redhat.com>