public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* 8 nics limits on KVM ??
@ 2009-01-29 14:24 Yann Dupont
  2009-02-02 16:25 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Yann Dupont @ 2009-01-29 14:24 UTC (permalink / raw)
  To: kvm; +Cc: Jean-Philippe MENIL, RESEAUCRI

Hello,

we are using kvm for wifidog, a wifi portal. In our case, we have lots 
of VLANS, and those vlans are connected  on separate bridges on the 
host. So, for the kvm machine running wifidog, we're having lots of 
virtual nics (more than 10). Launching kvm, we had this error mesage : 
Too many nics.

The limit seems hardcoded in qemu (in qemu/net.h), I've changed MAX_NICS 
from 8 to 24, and this seems to do the trick.

Is there any adverse effects doing this ? Is the limit arbitrary , or 
there for a good reason ?

Cheers,

-- 
Yann Dupont - Service IRTS, DSI Université de Nantes
Tel : 02.51.12.53.91 - Mail/Jabber : Yann.Dupont@univ-nantes.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 8 nics limits on KVM ??
  2009-01-29 14:24 8 nics limits on KVM ?? Yann Dupont
@ 2009-02-02 16:25 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-02-02 16:25 UTC (permalink / raw)
  To: Yann Dupont; +Cc: kvm, Jean-Philippe MENIL, RESEAUCRI

Yann Dupont wrote:
> Hello,
>
> we are using kvm for wifidog, a wifi portal. In our case, we have lots 
> of VLANS, and those vlans are connected  on separate bridges on the 
> host. So, for the kvm machine running wifidog, we're having lots of 
> virtual nics (more than 10). Launching kvm, we had this error mesage : 
> Too many nics.
>
> The limit seems hardcoded in qemu (in qemu/net.h), I've changed 
> MAX_NICS from 8 to 24, and this seems to do the trick.
>
> Is there any adverse effects doing this ? Is the limit arbitrary , or 
> there for a good reason ?

No good reason I can think of.  Qemu used to have only a few PCI slots, 
but now we have 32 (I think) so the limit can easily be raised.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-02 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 14:24 8 nics limits on KVM ?? Yann Dupont
2009-02-02 16:25 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox