chore: white space clean up
This commit is contained in:
parent
c9f477517a
commit
6266e37eec
1
quickemu
1
quickemu
|
@ -294,7 +294,6 @@ function vm_boot() {
|
||||||
GUEST_CPU_CORES=$(( 2 ** $(echo "${factorCPUCores#*:}" | grep -o '[0-9]' | wc -l) ))
|
GUEST_CPU_CORES=$(( 2 ** $(echo "${factorCPUCores#*:}" | grep -o '[0-9]' | wc -l) ))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Account for Hyperthreading/SMT.
|
# Account for Hyperthreading/SMT.
|
||||||
if [ -e /sys/devices/system/cpu/smt/control ] && [ "${GUEST_CPU_CORES}" -ge 2 ]; then
|
if [ -e /sys/devices/system/cpu/smt/control ] && [ "${GUEST_CPU_CORES}" -ge 2 ]; then
|
||||||
HOST_CPU_SMT=$(cat /sys/devices/system/cpu/smt/control)
|
HOST_CPU_SMT=$(cat /sys/devices/system/cpu/smt/control)
|
||||||
|
|
Loading…
Reference in New Issue