From: Alessandro Bono <alessandro.bono@gmail.com>
To: kvm@vger.kernel.org
Subject: [PATCH] increase MAX_NICS value
Date: Fri, 09 Jul 2010 17:39:17 +0200 [thread overview]
Message-ID: <1278689957.9187.12.camel@champagne> (raw)
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
next reply other threads:[~2010-07-09 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 15:39 Alessandro Bono [this message]
2010-07-09 17:30 ` [PATCH] increase MAX_NICS value Brian Jackson
2010-07-12 12:54 ` Alessandro Bono
2010-07-10 5:59 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1278689957.9187.12.camel@champagne \
--to=alessandro.bono@gmail.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox