Is there a test to see if hardware virtualization (vmx / svm) are presently enabled within a Linux session?
- by Dr. Edward Morbius
I'm writing procedures for configuring VirtualBox support for 64-bit SMP guests, which requires hardware virtualization suppot (VTx/Intel, AMD-V/AMD). I have successfully configured this myself, however I'd like the procedure to be clear.
sed -ne '/^flags/s/^.*: //p' /proc/cpuinfo |
egrep -q '(vmx|svm)'…