From patchwork Tue Oct 20 12:11:39 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wolfgang.mauerer@siemens.com X-Patchwork-Id: 54937 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9KCN6Xl003150 for ; Tue, 20 Oct 2009 12:23:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751984AbZJTMW4 (ORCPT ); Tue, 20 Oct 2009 08:22:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751947AbZJTMWz (ORCPT ); Tue, 20 Oct 2009 08:22:55 -0400 Received: from lizzard.sbs.de ([194.138.37.39]:20626 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751934AbZJTMWz (ORCPT ); Tue, 20 Oct 2009 08:22:55 -0400 Received: from mail1.sbs.de (localhost [127.0.0.1]) by lizzard.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id n9KC9EDS014402 for ; Tue, 20 Oct 2009 14:09:14 +0200 Received: from localhost.localdomain (mchn315c.mchp.siemens.de [139.25.109.82]) by mail1.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id n9KC9Dal006742; Tue, 20 Oct 2009 14:09:14 +0200 From: wolfgang.mauerer@siemens.com To: kvm@vger.kernel.org Cc: jan.kiszka@siemens.com, Wolfgang Mauerer Subject: [PATCH 2/2] kvm-kmod: Document the build process Date: Tue, 20 Oct 2009 14:11:39 +0200 Message-Id: <1256040699-27468-2-git-send-email-wolfgang.mauerer@siemens.com> X-Mailer: git-send-email 1.6.4 In-Reply-To: <1256040699-27468-1-git-send-email-wolfgang.mauerer@siemens.com> References: <1256040699-27468-1-git-send-email-wolfgang.mauerer@siemens.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/README b/README new file mode 100644 index 0000000..40a72d3 --- /dev/null +++ b/README @@ -0,0 +1,26 @@ +Building the KVM kernel module is performed differently depending on whether +you are working from a clone of the git repository or from a source release. + +- To build from a release, simply use ./configure (possibly with any + arguments that are required for your setup, see ./configure --help) + and make. + +- Building from a cloned git repository requires a kernel tree with the main + kvm sources that is included as a submodule in the linux-2.6/ directory. By + default, the KVM development tree on git.kernel.org is used, but you can + change this setting in .gitmodules + + Before the kvm module can be built, the linux submodule must be initialised + and populated. The required sequence of commands is + + git submodule init + git submodule update + ./configure + make sync + make + + Notice that you can also specify an existing Linux tree for the + synchronisation stage by using + + make sync LINUX=/path/to/tree +