[Lunar-commits] r23946 - in moonbase/trunk/devel: . kvm qemu

Auke Kok sofar at lunar-linux.org
Fri Apr 6 17:17:34 CEST 2007


Author: sofar
Date: 2007-04-06 17:17:33 +0200 (Fri, 06 Apr 2007)
New Revision: 23946

Added:
   moonbase/trunk/devel/kvm/
   moonbase/trunk/devel/kvm/BUILD
   moonbase/trunk/devel/kvm/CONFLICTS
   moonbase/trunk/devel/kvm/DEPENDS
   moonbase/trunk/devel/kvm/DETAILS
Modified:
   moonbase/trunk/devel/qemu/DEPENDS
Log:
Adding a KVM module:

- KVM conflicts with qemu.
- Requires gcc3, but finds it automatically if installed in /opt (default)
- Requires that you use the kvm kernel modules from your kernel (2.6.20 has it)


Added: moonbase/trunk/devel/kvm/BUILD
===================================================================
--- moonbase/trunk/devel/kvm/BUILD	                        (rev 0)
+++ moonbase/trunk/devel/kvm/BUILD	2007-04-06 15:17:33 UTC (rev 23946)
@@ -0,0 +1,8 @@
+(
+
+  add_priv_group kvm &&
+  ./configure --prefix=/usr --with-patched-kernel \
+              --qemu-cc=${GCC3_PREFIX:-/opt/lunar/gcc3}/bin/gcc &&
+  default_make
+
+) > $C_FIFO 2>&1

Added: moonbase/trunk/devel/kvm/CONFLICTS
===================================================================
--- moonbase/trunk/devel/kvm/CONFLICTS	                        (rev 0)
+++ moonbase/trunk/devel/kvm/CONFLICTS	2007-04-06 15:17:33 UTC (rev 23946)
@@ -0,0 +1 @@
+CONFLICTS qemu

Added: moonbase/trunk/devel/kvm/DEPENDS
===================================================================
--- moonbase/trunk/devel/kvm/DEPENDS	                        (rev 0)
+++ moonbase/trunk/devel/kvm/DEPENDS	2007-04-06 15:17:33 UTC (rev 23946)
@@ -0,0 +1,7 @@
+depends  gcc3      &&
+depends  autoconf  &&
+
+optional_depends  SDL  ""  "--disable-sdl --disable-gfx-check"  \
+                  "for gui qemu support"                        &&
+optional_depends  alsa-lib  "--enable-alsa"  ""  \
+                  "for ALSA sound support"

Added: moonbase/trunk/devel/kvm/DETAILS
===================================================================
--- moonbase/trunk/devel/kvm/DETAILS	                        (rev 0)
+++ moonbase/trunk/devel/kvm/DETAILS	2007-04-06 15:17:33 UTC (rev 23946)
@@ -0,0 +1,30 @@
+          MODULE=kvm
+         VERSION=12
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=$SFORGE_URL/$MODULE
+      SOURCE_VFY=sha1:e6999910e764daa0b41c36fd41e56c40ecf9742e
+        WEB_SITE=http://kvm.qumranet.com/kvmwiki/
+         ENTERED=20070406
+         UPDATED=20070406
+           SHORT="Native x86 Virtualization host using vt extensions"
+
+cat << EOF
+KVM (for Kernel-based Virtual Machine) is a full virtualization
+solution for Linux on x86 hardware containing virtualization
+extensions (Intel VT or AMD-V). It consists of a loadable kernel
+module, kvm.ko, that provides the core virtualization infrastructure
+and a processor specific module, kvm-intel.ko or kvm-amd.ko. KVM
+also requires a modified QEMU although work is underway to get the
+required changes upstream.
+
+Using KVM, one can run multiple virtual machines running unmodified
+Linux or Windows images. Each virtual machine has private virtualized
+hardware: a network card, disk, graphics adapter, etc.
+
+How can I tell if I have Intel VT or AMD-V?  With a recent enough Linux
+kernel, run the command: egrep '^flags.*(vmx|svm)' /proc/cpuinfo
+If it produces output, you can use KVM.
+
+KVM will run at the same (slower) speed as qemu if your processor does not
+support vmx/svm
+EOF

Modified: moonbase/trunk/devel/qemu/DEPENDS
===================================================================
--- moonbase/trunk/devel/qemu/DEPENDS	2007-04-06 09:39:53 UTC (rev 23945)
+++ moonbase/trunk/devel/qemu/DEPENDS	2007-04-06 15:17:33 UTC (rev 23946)
@@ -1,3 +1,4 @@
+depends  gcc3      &&
 depends  autoconf  &&
 
 optional_depends  SDL  ""  "--disable-sdl --disable-gfx-check"  \



More information about the Lunar-commits mailing list