netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unable to create more than 1 guest virtio-net device using vhost-net backend
@ 2010-03-19 22:19 Sridhar Samudrala
  2010-03-21  9:55 ` Michael S. Tsirkin
  0 siblings, 1 reply; 11+ messages in thread
From: Sridhar Samudrala @ 2010-03-19 22:19 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: netdev, kvm@vger.kernel.org

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



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

end of thread, other threads:[~2010-03-22 23:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-19 22:19 Unable to create more than 1 guest virtio-net device using vhost-net backend Sridhar Samudrala
2010-03-21  9:55 ` 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

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).