From: Chris Wright Subject: Re: NIC limit Date: Wed, 6 Oct 2010 10:18:17 -0700 Message-ID: <20101006171817.GE18885@sequoia.sous-sol.org> References: <20101006101931.0DFC04B2@gateway1.messagingengine.com> <1286360484.21399.1398635889@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: KVM mailing list To: linux_kvm@proinbox.com Return-path: Received: from sous-sol.org ([216.99.217.87]:50692 "EHLO sequoia.sous-sol.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751861Ab0JFRSX (ORCPT ); Wed, 6 Oct 2010 13:18:23 -0400 Content-Disposition: inline In-Reply-To: <1286360484.21399.1398635889@webmail.messagingengine.com> Sender: kvm-owner@vger.kernel.org List-ID: * linux_kvm@proinbox.com (linux_kvm@proinbox.com) wrote: > Hi again everybody, > > One of the admins at the ProxmoxVE project was gracious enough to > quickly release a package including the previously discussed change to > allow up to 32 NICs in qemu. You mean they patched qemu to increase the MAX_NICS constant? Nice to get the quick turn around. Te better choice is to use a newer command line. Not only does it avoid the MAX_NICS limitation, but it also enables standard virtio-net offload accelerations. > For future reference the .deb is here: > ftp://download.proxmox.com/debian/dists/lenny/pvetest/binary-amd64/pve-qemu-kvm_0.12.5-2_amd64.deb > > Upon creating & running the VM with the newly patched qemu-kvm app > installed, I found a NIC limitation remained in place, presumably > imposed by some other aspect of the environment. > > The machine would start when it had 33 PCI devices, as long as no more > than 28 of them were NICs. The PCI bus has only 32 slots (devices), 3 taken by chipset + vga, and a 4th if you have, for example, a virtio disk. Are you sure these are 33 PCI devices and not 33 PCI functions? thanks, -chris