public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] increase MAX_NICS value
@ 2010-07-09 15:39 Alessandro Bono
  2010-07-09 17:30 ` Brian Jackson
  2010-07-10  5:59 ` Markus Armbruster
  0 siblings, 2 replies; 4+ messages in thread
From: Alessandro Bono @ 2010-07-09 15:39 UTC (permalink / raw)
  To: kvm

Hi all

max number of allowed nics per vm is hardcoded on net.h to 8. This value
it's too low in situation with big network, increase to 24
this should be safe as mentioned on this thread
http://kerneltrap.org/mailarchive/linux-kvm/2009/1/29/4848304/thread

Signed-off-by: Alessandro Bono <alessandro.bono@gmail.com>

--- net.h.old   2010-07-09 17:30:39.542170103 +0200
+++ net.h       2010-07-09 17:30:48.842166029 +0200
@@ -121,7 +121,7 @@
 
 /* NIC info */
 
-#define MAX_NICS 8
+#define MAX_NICS 24 
 
 struct NICInfo {
     uint8_t macaddr[6];



-- 
Cordiali Saluti
Alessandro Bono


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

end of thread, other threads:[~2010-07-12 12:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-09 15:39 [PATCH] increase MAX_NICS value Alessandro Bono
2010-07-09 17:30 ` Brian Jackson
2010-07-12 12:54   ` Alessandro Bono
2010-07-10  5:59 ` Markus Armbruster

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