From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] KVM: Add wrapper script around QEMU to test kernels Date: Tue, 8 Nov 2011 10:28:14 -0500 Message-ID: <20111108152814.GA8188@infradead.org> References: <1320543320-32728-1-git-send-email-agraf@suse.de> <4EB93FA4.8020800@redhat.com> <20111108145257.GA10846@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Avi Kivity , Alexander Graf , Linus Torvalds , Ingo Molnar , "linux-kernel@vger.kernel.org List" , "kvm@vger.kernel.org list" , qemu-devel Developers , Am?rico Wang , Blue Swirl To: Pekka Enberg Return-path: Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:54403 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751648Ab1KHP2U (ORCPT ); Tue, 8 Nov 2011 10:28:20 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Nov 08, 2011 at 05:26:03PM +0200, Pekka Enberg wrote: > On Tue, Nov 8, 2011 at 4:52 PM, Christoph Hellwig wrote: > > Nevermind that running virtfs as a rootfs is a really dumb idea. ?You > > do now want to run a VM that has a rootfs that gets changed all the > > time behind your back. > > It's rootfs binaries that are shared, not configuration. It's > unfortunate but works OK for the single user use case it's meant for. > It's obviously not a proper solution for the generic case. We were > hoping that we could use something like overlayfs to hide the issue > under the rug. Do you think that's also a really dumb thing to do? It doesn't hide your issues. Any kind of unioning will have massive consistency issues (as in will corrupt your fs if you do stupid things) if the underlying layer is allowed to be written to. Thus all the fuzz about making sure the underlying fs can never be mounted writeable in the union mount patches.