public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* 8 nic limit
@ 2011-09-03 11:54 Richard Weinberger
  2011-09-05  6:58 ` Jan Kiszka
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Weinberger @ 2011-09-03 11:54 UTC (permalink / raw)
  To: kvm

Hi!

qemu-kvm seems to support only 8 network interfaces.
I found this posting from 2009:
http://www.mail-archive.com/kvm@vger.kernel.org/msg10104.html

Why is MAX_NICS still only 8?
Please raise this limit in future releases.

I have some use cases where much more than 8 nics are needed.
(Lot's of VLANs...)

Thanks,
//richard

P.s: Please CC me.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Fwd: Re: 8 NIC limit
@ 2010-10-05 16:19 linux_kvm
  2010-10-05 18:39 ` Chris Wright
  0 siblings, 1 reply; 8+ messages in thread
From: linux_kvm @ 2010-10-05 16:19 UTC (permalink / raw)
  To: KVM mailing list

Forgot to cc list, forwarding.

> In this case, I think you're going to want to send your patch to the
> qemu-devel (on CC) mailing list (perhaps in addition to sending it
> here, to the kvm list).

Will do, thanks for the pointer.

Before I do so, I'd like to bring up one thing that comes to mind.

I don't know how to make the determination, but it makes sense to me for
the limit defined here to be indicitive of an actual limitation, rather
than what seems an arbitrary best-guess as to the most someone might
need.

If the change ends up being permanent, then I would hope it would be a
large enough value to provide a degree of extensibility and prevent the
necessity of bumping it up again later when someone else comes along
with even greater bandwidth requirements.

Perhaps someone could provide some guidance as to a sane, higher number,
as opposed to an arbitrary '65000' which would surely prevent this from
happening again (knock on wood).

For the time being I still have to find something to help learn how to
implement the change locally.
I rarely have to compile let alone deal with patches, so to me at least
this is a considerable obstacle.

-Thanks

On Tue, 05 Oct 2010 08:24 -0700, "Dustin Kirkland"
<kirkland@canonical.com> wrote:
> On Tue, Oct 5, 2010 at 7:48 AM,  <linux_kvm@proinbox.com> wrote:
> > Hello list:
> >
> > I'm working on a project that calls for the creation of a firewall in
> > KVM.
> > While adding a 20-interface trunk of virtio adapters to bring in a dual
> > 10GB bond, I've discovered an 8 NIC limit in QEMU.
> >
> > I found the following thread in the list archives detailing a similar
> > problem:
> > http://kerneltrap.org/mailarchive/linux-kvm/2009/1/29/4848304
> >
> > It includes a patch for the file qemu/net.h to allow 24 NICs:
> > https://bugs.launchpad.net/ubuntu/+source/qemu-kvm">qemu-kvm/+bug/595873/+attachment/1429544/+files/max_nics.patch
> >
> > In my case I want to attach 29, and have simply changed line 8 to 30
> > from 24.
> >
> > This will be the first patch I've ever had to do, and so far my internet
> > search yields results that don't seem to apply.
> >
> > Would someone like to recommend a pertinent tutorial?
> 
> Hi there,
> 
> I commented on the original bug in Launchpad.  We're willing and able
> to carry the patch against qemu-kvm in Ubuntu, I just asked that the
> reporter at least submit the patch upstream for discussion.  I don't
> see where that has happened yet.  It's a trivial patch to submit.
> Please note in that bug a pointer to the mailing list thread, if you
> start one.
> 
> To your specific question, different communities have different
> requirements on patch submission, so you do need to consult each
> community.  A good place to start might be the
> Documentation/SubmittingPatches how-to in the kernel tree:
>  *
>  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/SubmittingPatches;hb=HEAD
> 
> In this case, I think you're going to want to send your patch to the
> qemu-devel (on CC) mailing list (perhaps in addition to sending it
> here, to the kvm list).
> 
> :-Dustin
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread
* 8 NIC limit
@ 2010-10-05 14:48 linux_kvm
  2010-10-05 15:24 ` Dustin Kirkland
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: linux_kvm @ 2010-10-05 14:48 UTC (permalink / raw)
  To: kvm

Hello list:

I'm working on a project that calls for the creation of a firewall in
KVM.
While adding a 20-interface trunk of virtio adapters to bring in a dual
10GB bond, I've discovered an 8 NIC limit in QEMU.

I found the following thread in the list archives detailing a similar
problem:
http://kerneltrap.org/mailarchive/linux-kvm/2009/1/29/4848304

It includes a patch for the file qemu/net.h to allow 24 NICs:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm">qemu-kvm/+bug/595873/+attachment/1429544/+files/max_nics.patch

In my case I want to attach 29, and have simply changed line 8 to 30
from 24.

This will be the first patch I've ever had to do, and so far my internet
search yields results that don't seem to apply.

Would someone like to recommend a pertinent tutorial?

Many thanks

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

end of thread, other threads:[~2011-09-05  6:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-03 11:54 8 nic limit Richard Weinberger
2011-09-05  6:58 ` Jan Kiszka
  -- strict thread matches above, loose matches on Subject: below --
2010-10-05 16:19 Fwd: Re: 8 NIC limit linux_kvm
2010-10-05 18:39 ` Chris Wright
2010-10-05 14:48 linux_kvm
2010-10-05 15:24 ` Dustin Kirkland
2010-10-05 15:57 ` Markus Armbruster
2010-10-05 16:20   ` linux_kvm
2010-10-05 16:43 ` Brian Jackson

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