From 6e306c77d3bd945dd48fd9746ac1b07610e85f36 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 12 Apr 2017 14:53:15 +0200 Subject: Add support for KVM, monitoring bbot diagnostics --- init | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'init') 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: # -- cgit v1.1