[PATCH 2/2] kvm-kmod: Document the build process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Wolfgang Mauerer <wolfgang.mauerer@xxxxxxxxxxx>

A package without build instructions is like a kernel
without a penguin.

Signed-off-by: Wolfgang Mauerer <wolfgang.mauerer@xxxxxxxxxxx>
---
 README |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 README

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
+
-- 
1.6.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux