Skip to content

Commit 47a5d0f

Browse files
rsmonteroxorel
authored andcommitted
F #6850: Add more PCIE ports for ARM architectures
This commit uses the same variable Q35_ROOT_PORTS to add more PCI Express ports on ARM architectures.
1 parent 80bfea1 commit 47a5d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vmm/LibVirtDriverKVM.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2151,7 +2151,7 @@ int LibVirtDriver::deployment_description_kvm(
21512151

21522152
std::size_t found = machine.find("q35");
21532153

2154-
if (found != std::string::npos)
2154+
if (found != std::string::npos || arch == "aarch64" )
21552155
{
21562156
int q35_root_ports = 0;
21572157
get_attribute(nullptr, host, cluster, "Q35_ROOT_PORTS", q35_root_ports);

0 commit comments

Comments
 (0)