From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767547AbXEDAn0 (ORCPT ); Thu, 3 May 2007 20:43:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767550AbXEDAn0 (ORCPT ); Thu, 3 May 2007 20:43:26 -0400 Received: from ozlabs.org ([203.10.76.45]:33191 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767547AbXEDAnZ (ORCPT ); Thu, 3 May 2007 20:43:25 -0400 Subject: Re: [RELEASE] Lguest for 2.6.21 From: Rusty Russell To: Matt Mackall Cc: lkml - Kernel Mailing List , virtualization In-Reply-To: <1178237603.23670.26.camel@localhost.localdomain> References: <1178117028.19815.14.camel@localhost.localdomain> <20070503160201.GR11166@waste.org> <1178237603.23670.26.camel@localhost.localdomain> Content-Type: text/plain Date: Fri, 04 May 2007 10:43:09 +1000 Message-Id: <1178239389.23670.33.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2007-05-04 at 10:13 +1000, Rusty Russell wrote: > On Thu, 2007-05-03 at 11:02 -0500, Matt Mackall wrote: > > On Thu, May 03, 2007 at 12:43:48AM +1000, Rusty Russell wrote: > > > http://lguest.ozlabs.org/lguest-2.6.21-254.patch.gz > > > > > > See Documentation/lguest/lguest.txt for how to run, > > > drivers/lguest/README for the draft code documentation journey. > > > > Your lguest readme is quite lacking in the area of how to configure a > > guest kernel as opposed to the host kernel. More hand-holding, please. > > Hi Matt! > > Ah, that's because they are the same kernel. Turning on CONFIG_LGUEST > builds-in the parts needed to be a guest as well. > > Thanks for pointing out that weakness. I will modify lguest.txt to make > that clear. Something like this: diff -r 940ec1c6ac5a Documentation/lguest/lguest.txt --- a/Documentation/lguest/lguest.txt Thu May 03 23:00:19 2007 +1000 +++ b/Documentation/lguest/lguest.txt Fri May 04 10:17:23 2007 +1000 @@ -23,7 +23,10 @@ Developer features: Running Lguest: -- You will need to configure your kernel with the following options: +- Lguest runs the same kernel as guest and host. You can configure + them differently, but usually it's easiest not to. + + You will need to configure your kernel with the following options: CONFIG_HIGHMEM64G=n ("High Memory Support" "64GB")[1] CONFIG_TUN=y/m ("Universal TUN/TAP device driver support") Cheers, Rusty.