getting-started: Warn on nested virtualization
The BASH snippet recommended for checking the host requirements was issuing
an ERROR if it detected a nested virtualization environment. Downgraded
that to a warning, since reports came in that Firecracker was successfully
run on GCE, with L2 KVM.
@@ -44,12 +44,12 @@ the basic requirements to run Firecracker.</summary>
err=""; \
[ "$(uname) $(uname -m)" = "Linux x86_64" ] \
|| err="ERROR: your system is not Linux x86_64."; \
-dmesg | grep -i "hypervisor detected" \
- && err="$err\nERROR: you are running in a virtual machine."; \
[ -r /dev/kvm ] && [ -w /dev/kvm ] \
|| err="$err\nERROR: /dev/kvm is innaccessible."; \
(( $(uname -r | cut -d. -f1)*1000 + $(uname -r | cut -d. -f2) >= 4014 )) \
|| err="$err\nERROR: your kernel version ($(uname -r)) is too old."; \
+dmesg | grep -i "hypervisor detected" \
+ && echo "WARNING: you are running in a virtual machine. Firecracker is not well tested under nested virtualization."; \
[ -z "$err" ] && echo "Your system looks ready for Firecracker!" || echo -e "$err"
```
