aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-12 14:53:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-12 14:53:15 +0200
commit6e306c77d3bd945dd48fd9746ac1b07610e85f36 (patch)
tree32272d5c89367cb7df7433a02d9716cf2dfa901a /init
parentb665dce0ea1a19c77ef522d3bfafb8210f9455b3 (diff)
Add support for KVM, monitoring bbot diagnostics
Diffstat (limited to 'init')
-rwxr-xr-xinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/init b/init
index 694dcb0..18a6b0b 100755
--- a/init
+++ b/init
@@ -66,6 +66,12 @@ SYSTEMD_LOG_LEVEL=info /lib/systemd/systemd-udevd --daemon --resolve-names=never
udevadm trigger --action=add
udevadm settle || true
+# Initialize KVM.
+#
+#if ! (modprobe kvm_intel || modprobe kvm_amd); then
+# error "no virtualization support available (is it disabled in BIOS?)"
+#fi
+
# Parse the kernel command line. This is complicated by the fact that the
# values can be quoted, for example:
#