Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932552Ab2JWCVR (ORCPT ); Mon, 22 Oct 2012 22:21:17 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:37788 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932498Ab2JWCVQ (ORCPT ); Mon, 22 Oct 2012 22:21:16 -0400 MIME-Version: 1.0 In-Reply-To: <20121022101645.GL29310@redhat.com> References: <20121016134129.2fcd7c8ebe1235065aea929e@canb.auug.org.au> <20121020180436.c42b7325431fe87104b008fa@canb.auug.org.au> <20121020181425.GA11191@liondog.tnic> <20121021110329.GA7024@infradead.org> <20121021125933.GC19535@gmail.com> <508510C3.2020901@redhat.com> <20121022101645.GL29310@redhat.com> From: Asias He Date: Tue, 23 Oct 2012 10:20:34 +0800 Message-ID: Subject: Re: [GIT PULL] Linux KVM tool for v3.7-rc0 To: Gleb Natapov Cc: Avi Kivity , Pekka Enberg , richard -rw- weinberger , Ingo Molnar , Christoph Hellwig , Dave Airlie , Borislav Petkov , Stephen Rothwell , Linus Torvalds , Andrew Morton , linux-kernel@vger.kernel.org, Sasha Levin , Cyrill Gorcunov Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1414 Lines: 34 On Mon, Oct 22, 2012 at 6:16 PM, Gleb Natapov wrote: > On Mon, Oct 22, 2012 at 11:24:19AM +0200, Avi Kivity wrote: >> On 10/21/2012 05:39 PM, Pekka Enberg wrote: >> > >> > On Sun, Oct 21, 2012 at 5:02 PM, richard -rw- weinberger >> > wrote: >> >> qemu supports all these features. >> >> E.g. to access the host fs use: >> >> qemu ... \ >> >> -fsdev local,security_model=passthrough,id=fsdev-root,path=/your/root/,readonly >> >> \ >> >> -device virtio-9p-pci,id=fs-root,fsdev=fsdev-root,mount_tag=rootshare >> > >> > IIRC, QEMU uses SLIRP non-root zero-config networking which is much >> > more limited than what LKVM offers out of the box. >> >> Curious, what are the differences? >> > Me too, especially as we discussed replacing SLIRP with lkvm code for > userspace networking and decided (for reasons I do not remember) that it > lacks futures SLIRP has. Was it host port redirection? Yes. Currently, there is no host to guest port forward support in lkvm. However, it's faster than slirp. e.g. tcp bandwidth in a 100Mb/s environment lkvm's userspace networking ~90Mb/s v.s qemu's slirp ~10Mb/s -- Asias He -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/