Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753770Ab2JUM7k (ORCPT ); Sun, 21 Oct 2012 08:59:40 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:64415 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753504Ab2JUM7j (ORCPT ); Sun, 21 Oct 2012 08:59:39 -0400 Date: Sun, 21 Oct 2012 14:59:33 +0200 From: Ingo Molnar To: Christoph Hellwig Cc: Dave Airlie , Borislav Petkov , Stephen Rothwell , Pekka Enberg , Linus Torvalds , Andrew Morton , Avi Kivity , linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] Linux KVM tool for v3.7-rc0 Message-ID: <20121021125933.GC19535@gmail.com> References: <20121016134129.2fcd7c8ebe1235065aea929e@canb.auug.org.au> <20121020180436.c42b7325431fe87104b008fa@canb.auug.org.au> <20121020181425.GA11191@liondog.tnic> <20121021110329.GA7024@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121021110329.GA7024@infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1353 Lines: 43 * Christoph Hellwig wrote: > On Sun, Oct 21, 2012 at 01:07:31PM +1000, Dave Airlie wrote: > > Why couldn't this script just be a wrapper around qemu > > It can be. Here is my ususual one: > > #!/bin/sh > > /opt/qemu/bin/qemu-system-x86_64 \ > -m 1500 \ > -enable-kvm \ > -drive if=none,file=/home/hch/qemu-root.img,cache=none,id=root \ 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 But yeah, I guess if you ignore enough key tools/kvm/ features then you will eventually be right: it's really just the same as Qemu and has no place in the kernel repo ;-) Thanks, Ingo -- 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/