From: Richard W.M. Jones Date: Thu, 3 Jul 2014 17:01:29 +0000 (+0100) Subject: Document how to enabled nested KVM for Intel. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=6ae45054c86b1b8ea8889a0fef030e0a3fd8267c;p=supernested.git Document how to enabled nested KVM for Intel. --- diff --git a/README b/README index c78d435..4ec778b 100644 --- a/README +++ b/README @@ -72,9 +72,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.