From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: Add wrapper script around QEMU to test kernels Date: Tue, 08 Nov 2011 19:36:43 +0200 Message-ID: <4EB968AB.9060907@redhat.com> References: <1320543320-32728-1-git-send-email-agraf@suse.de> <4EB93FA4.8020800@redhat.com> <20111108145257.GA10846@infradead.org> <4EB94340.5040205@redhat.com> <20111108145945.GA17842@infradead.org> <4EB96829.1010709@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Christoph Hellwig , Linus Torvalds , Ingo Molnar , "linux-kernel@vger.kernel.org List" , "kvm@vger.kernel.org list" , qemu-devel Developers , Pekka Enberg , Am?rico Wang , Blue Swirl To: Alexander Graf Return-path: In-Reply-To: <4EB96829.1010709@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 11/08/2011 07:34 PM, Alexander Graf wrote: >> >>> It could work with a btrfs snapshot, but not everyone uses that. >> Or LVM snapshot. Either way, just reusing the root fs without care >> is a dumb idea, and I really don't want any tool or script that >> encurages such braindead behaviour in the kernel tree. > > > Heh, yeah, the intent was obviously to have a separate rootfs tree > somewhere in a directory. But that's not available at first when > running this, so I figured for a simple "get me rolling" FAQ directing > the guest's rootfs to / at least gets you somewhere (especially when > run as user with init=/bin/bash). > Right, init=/bin/bash is not too insane for rootfs passthrough. /proc will be completely broken though, need to mount the guest's. -- error compiling committee.c: too many arguments to function