While attempting to install a dual 10GB NIC to a Vyatta VM, I ran into a limitation in qemu that currently prevents adding more than 8 NICs.
My aim is for the VM to have 29x virtio NICs, 1x IDE CD-ROM & 1x virtio HDD.
I found a patch to allow 24, and changed it to 32, which is the number of total PCI slots.
View attachment max_nics.zip
I haven't figured out how to apply it yet myself, but I'll post it for the sake of whoever comes along next.
It was suggested that I submit it to qemu-dev for upstream adoption, but it may be moot with their changing to a new API.
It seems the new method of adding devices using a qdev / -device command won't encounter the same limitation as whatever it is now.
I'm not finding any documentation on how to do it that way.
Could someone point me in the right direction on how to do this?
My aim is for the VM to have 29x virtio NICs, 1x IDE CD-ROM & 1x virtio HDD.
I found a patch to allow 24, and changed it to 32, which is the number of total PCI slots.
View attachment max_nics.zip
I haven't figured out how to apply it yet myself, but I'll post it for the sake of whoever comes along next.
It was suggested that I submit it to qemu-dev for upstream adoption, but it may be moot with their changing to a new API.
It seems the new method of adding devices using a qdev / -device command won't encounter the same limitation as whatever it is now.
I'm not finding any documentation on how to do it that way.
Could someone point me in the right direction on how to do this?