Re: [PATCHv2 0/2] vhost: a kernel-level virtio server

From: Michael S. Tsirkin
Date: Wed Aug 12 2009 - 09:09:00 EST


On Wed, Aug 12, 2009 at 02:52:01PM +0200, Arnd Bergmann wrote:
> On Wednesday 12 August 2009, Gregory Haskins wrote:
> > >> Are you saying SRIOV is a requirement, and I can either program the
> > >> SRIOV adapter with a mac or use promis? Or are you saying I can use
> > >> SRIOV+programmed mac OR a regular nic + promisc (with a perf penalty).
> > >
> > > SRIOV is not a requirement. And you can also use a dedicated
> > > nic+programmed mac if you are so inclined.
> >
> > Makes sense. Got it.
> >
> > I was going to add guest-to-guest to the test matrix, but I assume that
> > is not supported with vhost unless you have something like a VEPA
> > enabled bridge?
> >
>
> If I understand it correctly, you can at least connect a veth pair
> to a bridge, right? Something like
>
> veth0 - veth1 - vhost - guest 1
> eth0 - br0-|
> veth2 - veth3 - vhost - guest 2
>
> It's a bit more complicated than it need to be, but should work fine.
>
> Arnd <><

Heh, you don't need a bridge in this picture:

guest 1 - vhost - veth0 - veth1 - vhost guest 2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/