Package: cpu-checker / 0.7-1.1

powerpc-dummy.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Duplicate ppc64le test as ppc64 for big-endian
Last-Update: 2015-10-21

--- cpu-checker-0.7.orig/kvm-ok
+++ cpu-checker-0.7/kvm-ok
@@ -56,6 +56,11 @@ elif [ "$(uname -m)" = "ppc64le" ]; then
 	exit 0
 	virt="POWER"
 	kvm_mod="kvm"
+elif [ "$(uname -m)" = "ppc64" ]; then
+	# FIXME: Assume that all ppc64 is kvm capable
+	exit 0
+	virt="POWER"
+	kvm_mod="kvm"
 else
     virt=$(egrep -m1 -w '^flags[[:blank:]]*:' /proc/cpuinfo | egrep -wo '(vmx|svm)') || true
     [ "$virt" = "vmx" ] && kvm_mod="kvm_intel"