From patchwork Tue Jan 28 14:00:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 11354499 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3B92B1398 for ; Tue, 28 Jan 2020 14:50:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A8512173E for ; Tue, 28 Jan 2020 14:50:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580223008; bh=aRB+F8aPuOXIKhGA4PgLcxC037sTgrQxSls+FlqjkKY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Ayf2EbYOsRnSCKWbBLLEY7gL/aZpLusB6yVJPknjf5mS4ZmNJlyxH8NWheed+E+4C U+ViA4h7HetTs3XFY7ekI6j+sN5QlVcW2Z33s+c/EOlvnL7WZpk/JMeKczGSL/OkpX ZqQ7EhlKk1ZW7P+MBetqzHTgnKxTxlXBLB/7xoNY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726766AbgA1OuE (ORCPT ); Tue, 28 Jan 2020 09:50:04 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:59272 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726813AbgA1OAp (ORCPT ); Tue, 28 Jan 2020 09:00:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gpnnwuexn6E79rDCRXA/tGQCjM2huV9ksFH2E/NUq90=; b=r6kNJ2jJVv4UJ/2qrj3SlvaeCu CgPIBvPaXcrfP4kLibGIRF2xRxaHxUojVKahdDJQ+QwUU9TeTlgGpx84WIRv6UKLQDfjvBDU3m7pd pGQMZo2rhxV1HYhqtlU7SauOVSKPsQeobaMA/2FvigxWmsq0lCB2Wr2g6+7cQ4k6tnv4hobqt4fA+ aCNlRxhgTpIiBC+NDJePGP8XqNL/TC2srX7a+wMgS96YqJJtXE2UTndusI3IssoKFwaOIRmgdkFqV 1KL/GxcVwrsdb9KqMmFmKCbXyKwfBuKgj2oF/ORVIX8BbhHtqX9dMQCJfFAHCFyfadGbk8+Q7ZUQm OJJhNqlw==; Received: from [177.41.103.99] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iwRQ5-0007iY-Ek; Tue, 28 Jan 2020 14:00:45 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92.3) (envelope-from ) id 1iwRPp-001BNQ-9H; Tue, 28 Jan 2020 15:00:29 +0100 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , Jeff Dike , Richard Weinberger , Anton Ivanov , Jonathan Corbet , linux-um@lists.infradead.org, linux-doc@vger.kernel.org Subject: [PATCH 03/27] docs: virt: user_mode_linux.rst: update compiling instructions Date: Tue, 28 Jan 2020 15:00:04 +0100 Message-Id: X-Mailer: git-send-email 2.24.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Instead of pointing for a pre-2.4 and a seaparate patch, update it to match current upstream, as UML was merged a long time ago. Signed-off-by: Mauro Carvalho Chehab --- Documentation/virt/uml/user_mode_linux.rst | 62 ++++------------------ 1 file changed, 9 insertions(+), 53 deletions(-) diff --git a/Documentation/virt/uml/user_mode_linux.rst b/Documentation/virt/uml/user_mode_linux.rst index 98922008be23..a96d29243964 100644 --- a/Documentation/virt/uml/user_mode_linux.rst +++ b/Documentation/virt/uml/user_mode_linux.rst @@ -3,7 +3,7 @@ User Mode Linux HOWTO ===================== :Author: User Mode Linux Core Team -:Last-updated: Mon Nov 18 14:16:16 EST 2002 +:Last-updated: Sat Jan 25 16:07:55 CET 2020 This document describes the use and abuse of Jeff Dike's User Mode Linux: a port of the Linux kernel as a normal Intel Linux process. @@ -221,23 +221,15 @@ Linux: a port of the Linux kernel as a normal Intel Linux process. Compiling the user mode kernel is just like compiling any other - kernel. Let's go through the steps, using 2.4.0-prerelease (current - as of this writing) as an example: + kernel. - 1. Download the latest UML patch from - the download page stop compiling. - - The sources are also available from cvs at the project's cvs page, - which has directions on getting the sources. You can also browse the - CVS pool from there. - - If you get the CVS sources, you will have to check them out into an - empty directory. You will then have to copy each file into the - corresponding directory in the appropriate kernel pool. - - If you don't have the latest kernel pool, you can get the - corresponding user-mode sources with:: - - - host% cvs co -r v_2_3_x linux - - - - - where 'x' is the version in your pool. Note that you will not get the - bug fixes and enhancements that have gone into subsequent releases. - 2.2. Compiling and installing kernel modules --------------------------------------------- @@ -414,7 +370,7 @@ Linux: a port of the Linux kernel as a normal Intel Linux process. 3.1. Running UML ----------------- - It runs on 2.2.15 or later, and all 2.4 kernels. + It runs on 2.2.15 or later, and all kernel versions since 2.4. Booting UML is straightforward. Simply run 'linux': it will try to