render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone
Glauber Costa b8bea8
#!/bin/sh
Glauber Costa b8bea8
Glauber Costa b8bea8
if [ $(grep -c vmx /proc/cpuinfo) -ne 0 ]; then 
Glauber Costa b8bea8
    modprobe kvm-intel >/dev/null 2>&1
Glauber Costa b8bea8
fi
Glauber Costa b8bea8
Glauber Costa b8bea8
if [ $(grep -c svm /proc/cpuinfo) -ne 0 ]; then 
Glauber Costa b8bea8
    modprobe kvm-amd >/dev/null 2>&1
Glauber Costa b8bea8
fi