mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Replace incorrect references to AuthenticIntel with GenuineIntel #223
This commit is contained in:
parent
e5053ec566
commit
72704684dd
1 changed files with 2 additions and 2 deletions
4
quickemu
4
quickemu
|
@ -241,7 +241,7 @@ function vm_boot() {
|
||||||
HOST_CPU_VENDOR=$(lscpu | grep -E 'Vendor' | cut -d':' -f2 | sed 's/ //g')
|
HOST_CPU_VENDOR=$(lscpu | grep -E 'Vendor' | cut -d':' -f2 | sed 's/ //g')
|
||||||
|
|
||||||
# A CPU with Intel VT-x / AMD SVM support is required
|
# A CPU with Intel VT-x / AMD SVM support is required
|
||||||
if [ "${HOST_CPU_VENDOR}" == "AuthenticIntel" ]; then
|
if [ "${HOST_CPU_VENDOR}" == "GenuineIntel" ]; then
|
||||||
if ! check_cpu_flag vmx; then
|
if ! check_cpu_flag vmx; then
|
||||||
echo "ERROR! Intel VT-x support is required."
|
echo "ERROR! Intel VT-x support is required."
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -449,7 +449,7 @@ function vm_boot() {
|
||||||
# A CPU with SSE4.1 support is required for >= macOS Sierra
|
# A CPU with SSE4.1 support is required for >= macOS Sierra
|
||||||
if check_cpu_flag sse4_1; then
|
if check_cpu_flag sse4_1; then
|
||||||
case ${HOST_CPU_VENDOR} in
|
case ${HOST_CPU_VENDOR} in
|
||||||
AuthenticIntel)
|
GenuineIntel)
|
||||||
CPU="-cpu host,kvm=on,vendor=GenuineIntel,+hypervisor,+invtsc,+kvm_pv_eoi,+kvm_pv_unhalt";;
|
CPU="-cpu host,kvm=on,vendor=GenuineIntel,+hypervisor,+invtsc,+kvm_pv_eoi,+kvm_pv_unhalt";;
|
||||||
AuthenticAMD|*)
|
AuthenticAMD|*)
|
||||||
# Used in past versions: +movbe,+smep,+xgetbv1,+xsavec,+avx2
|
# Used in past versions: +movbe,+smep,+xgetbv1,+xsavec,+avx2
|
||||||
|
|
Loading…
Reference in a new issue