X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=README;h=1b2632d5f50e70f8665d3ecdc166071cee98cb6b;hb=dcf2db236506b20d96f2ca1ff9d3e5ac5601ea1f;hp=5d6c12a840082a1393906c793d147517c1559de5;hpb=3320a9f0fdf46bab18a8128086ed88214524c612;p=supernested.git diff --git a/README b/README index 5d6c12a..1b2632d 100644 --- a/README +++ b/README @@ -23,6 +23,10 @@ Gnu General Public License, version 2 or above. See 'COPYING'. Requirements ---------------------------------------------------------------------- + - Have a look at the 'build-supernested.sh.in' script for a variable + called $packages. You need to install all of those packages on the + host. + - supermin version 5 https://github.com/libguestfs/supermin Note: older versions of supermin will not work @@ -45,6 +49,7 @@ Compiling the disk image To build the disk image, do: + autoreconf -i ./configure make @@ -71,9 +76,18 @@ on baremetal, on a machine which is KVM-capable, a modern CPU, with lots of free memory, and nothing much else running. You need to have the kernel KVM module (eg. kvm_amd or kvm_intel) -loaded, with the nested flag set. The nested flag defaults to true in -recent kernels. /dev/kvm needs to be accessible. On some distros -you may need to add your user to a special 'kvm' group. +loaded, with the nested=1 flag. The nested flag defaults to true for +AMD in recent kernels, but not for Intel. To force this, do: + + mkdir -p /etc/modprobe.d + echo "options kvm_intel nested=1" > /etc/modprobe.d/kvm.conf + +To see if nested is enabled, use: + + cat /sys/modules/kvm_(intel|amd)/parameters/nested + +/dev/kvm needs to be accessible. On some distros you may need to add +your user to a special 'kvm' group. You *don't* need to run this command as root. Running it as root may give different results. Consult a qemu/KVM expert.