Commit d4e9d4c0 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Reverted back KVM module detection to lsmod

parent e28bd59e
......@@ -27,7 +27,7 @@
<exec executable="bash" outputproperty="ENABLE_KVM_X86">
<arg value="-c"/>
<arg value="if [ `ls -1 /sys/module | grep -c -E '(kvm_intel|kvm_amd)'` -gt 0 ] ; then echo -n '-enable-kvm' ; fi"/>
<arg value="if [ `lsmod | grep -c -E '(kvm_intel|kvm_amd)'` -gt 0 ] ; then echo -n '-enable-kvm' ; fi"/>
</exec>
<target name="copy-to-secondary">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment