[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090812130433.GB29200@redhat.com>
Date: Wed, 12 Aug 2009 16:04:34 +0300
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Gregory Haskins <gregory.haskins@...il.com>
Cc: netdev@...r.kernel.org, virtualization@...ts.linux-foundation.org,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org, mingo@...e.hu,
linux-mm@...ck.org,
"akpm@...ux-foundation.org >> Andrew Morton"
<akpm@...ux-foundation.org>, hpa@...or.com,
Patrick Mullaney <pmullaney@...ell.com>
Subject: Re: [PATCHv2 0/2] vhost: a kernel-level virtio server
On Wed, Aug 12, 2009 at 08:41:31AM -0400, Gregory Haskins wrote:
> Michael S. Tsirkin wrote:
> > On Wed, Aug 12, 2009 at 07:56:05AM -0400, Gregory Haskins wrote:
> >> Michael S. Tsirkin wrote:
>
> <snip>
>
> >>>
> >>> 1. use a dedicated network interface with SRIOV, program mac to match
> >>> that of guest (for testing, you can set promisc mode, but that is
> >>> bad for performance)
> >>
> >> 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?
>
> <snip>
Presumably you mean on the same host? There were also some patches to
enable local guest to guest for macvlan, that would be a nice
software-only solution. For back to back, I just tried over veth, seems
to work fine.
> >>> 3. add vhost=ethX
> >> You mean via "ip link" I assume?
> >
> > No, that's a new flag for virtio in qemu:
> >
> > -net nic,model=virtio,vhost=veth0
>
> Ah, ok. Even better.
>
> Thanks!
> -Greg
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists