From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44040 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6Nmi-0002Eg-UP for qemu-devel@nongnu.org; Thu, 14 Oct 2010 09:23:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6Nmi-0006Zp-3U for qemu-devel@nongnu.org; Thu, 14 Oct 2010 09:23:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6Nmh-0006ZF-T2 for qemu-devel@nongnu.org; Thu, 14 Oct 2010 09:23:52 -0400 Message-ID: <4CB7044A.4050705@redhat.com> Date: Thu, 14 Oct 2010 15:23:22 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Hitting 29 NIC limit References: <4CB6388A.30006@codemonkey.ws> <4CB6F275.2060204@redhat.com> <4CB6FD7E.7010606@codemonkey.ws> In-Reply-To: <4CB6FD7E.7010606@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Anjali Kulkarni , "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" On 10/14/2010 02:54 PM, Anthony Liguori wrote: >>> The key is to make the virtio-net devices multifunction and to fill >>> out all 8 functions for each slot. >> >> This is unlikely to work right wrt pci hotplug. > > > Yes. Our hotplug design is based on devices.. This is wrong, it > should be based on bus-level concepts (like PCI slots). > >> If we want to support a large number of interfaces, we need true >> multiport cards. > > This magic here creates a multiport virtio-net card so I'm not really > sure what you're suggesting. It would certainly be nice to make this > all more user friendly (and make hotplug work). > The big issue is to fix hotplug. I don't see how we can make it user friendly, without making the ordinary case even more unfriendly. Looks like we need yet another level of indirection here. -- error compiling committee.c: too many arguments to function