Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751498Ab2JUDHd (ORCPT ); Sat, 20 Oct 2012 23:07:33 -0400 Received: from mail-oa0-f46.google.com ([209.85.219.46]:48609 "EHLO mail-oa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145Ab2JUDHc (ORCPT ); Sat, 20 Oct 2012 23:07:32 -0400 MIME-Version: 1.0 In-Reply-To: <20121020181425.GA11191@liondog.tnic> References: <20121016134129.2fcd7c8ebe1235065aea929e@canb.auug.org.au> <20121020180436.c42b7325431fe87104b008fa@canb.auug.org.au> <20121020181425.GA11191@liondog.tnic> Date: Sun, 21 Oct 2012 13:07:31 +1000 Message-ID: Subject: Re: [GIT PULL] Linux KVM tool for v3.7-rc0 From: Dave Airlie To: Borislav Petkov , Stephen Rothwell , Pekka Enberg , Linus Torvalds , Andrew Morton , Ingo Molnar , Avi Kivity , linux-kernel@vger.kernel.org, Christoph Hellwig 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: 1431 Lines: 33 On Sun, Oct 21, 2012 at 4:14 AM, Borislav Petkov wrote: > On Sat, Oct 20, 2012 at 06:04:36PM +1100, Stephen Rothwell wrote: >> So are there any compelling arguments from the proponents, or can >> I remove this from linux-next (and have it removed from the tip >> auto-latest branch)? > > FWIW, I gave this a run and I have to say, it works as advertized: I > built it and ran it with the latest kernel and the thing simply boots > the kernel. Even without a disk image - the simplest command is: > > $ ./lkvm run --kernel ../../arch/x86/boot/bzImage > > and it gets me a shell in the vm after a second. > > So the absolute advantage it gives kernel devs is that they can > smoke-test whether their stuff boots in seconds. > > This is probably not helpful when enabling specific hw features but > should be pretty helpful for generic arch stuff. Why couldn't this script just be a wrapper around qemu? I get the kvm developers developing features that isn't ideal, but for the quick boot a kernel tests, I don't see why a well maintained qemu wrapper isn't superior. I hate constructing qemu command lines, but a script in the kernel repo seems like a good idea. Dave. -- 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/