Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932294Ab2JUPjm (ORCPT ); Sun, 21 Oct 2012 11:39:42 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:61687 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932263Ab2JUPjl (ORCPT ); Sun, 21 Oct 2012 11:39:41 -0400 MIME-Version: 1.0 In-Reply-To: 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> Date: Sun, 21 Oct 2012 18:39:40 +0300 X-Google-Sender-Auth: fzm5C65QPQ80fwhKj10ErDeRb5U Message-ID: Subject: Re: [GIT PULL] Linux KVM tool for v3.7-rc0 From: Pekka Enberg To: richard -rw- weinberger Cc: Ingo Molnar , Christoph Hellwig , Dave Airlie , Borislav Petkov , Stephen Rothwell , Linus Torvalds , Andrew Morton , Avi Kivity , linux-kernel@vger.kernel.org, Asias He , Sasha Levin , Cyrill Gorcunov Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1557 Lines: 39 On Sun, Oct 21, 2012 at 2:59 PM, Ingo Molnar wrote: >> You are wrong on three counts: >> >> - As I mentioned it in my first mail to you this is not the >> same as 'vm run': you still have a qemu-root.img while >> tools/kvm does not ... >> >> 'vm run' works without having any disk image around, it just >> uses the existing distro binaries and boots them, sharing the >> host file system. >> >> - automatic, transparent host filesystem sharing is another >> useful feature: I can copy files in/out of the virtual >> machine using the host filesystem. >> >> - transparent networking is up and running straight away 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. Using host system rootfs is not quote as simple as you seem to think so you need something like Alexander Graf's shell script for comparable 'vm run' experience. Pekka -- 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/