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 
Lubomir Rintel baac61
    modprobe -b 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 
Lubomir Rintel baac61
    modprobe -b kvm-amd >/dev/null 2>&1
Glauber Costa b8bea8
fi