From: Sridhar Samudrala <samudrala.sridhar@gmail.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: netdev <netdev@vger.kernel.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Unable to create more than 1 guest virtio-net device using vhost-net backend
Date: Fri, 19 Mar 2010 15:19:27 -0700 [thread overview]
Message-ID: <1269037167.5127.12.camel@w-sridhar.beaverton.ibm.com> (raw)
When creating a guest with 2 virtio-net interfaces, i am running
into a issue causing the 2nd i/f falling back to userpace virtio
even when vhost is enabled.
After some debugging, it turned out that KVM_IOEVENTFD ioctl()
call in qemu is failing with ENOSPC.
This is because of the NR_IOBUS_DEVS(6) limit in kvm_io_bus_register_dev()
routine in the host kernel.
I think we need to increase this limit if we want to support multiple
network interfaces using vhost-net.
Is there an alternate solution?
Thanks
Sridhar
next reply other threads:[~2010-03-19 22:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-19 22:19 Sridhar Samudrala [this message]
2010-03-21 9:55 ` Unable to create more than 1 guest virtio-net device using vhost-net backend Michael S. Tsirkin
2010-03-21 10:11 ` Avi Kivity
2010-03-21 10:15 ` Michael S. Tsirkin
2010-03-21 10:29 ` Avi Kivity
2010-03-21 11:34 ` Michael S. Tsirkin
2010-03-21 11:58 ` Avi Kivity
2010-03-22 18:16 ` Michael S. Tsirkin
2010-03-22 23:41 ` Sridhar Samudrala
2010-03-21 10:21 ` Gleb Natapov
2010-03-21 10:31 ` Avi Kivity
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=1269037167.5127.12.camel@w-sridhar.beaverton.ibm.com \
--to=samudrala.sridhar@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).