Update proc.sh

This commit is contained in:
Kroese 2024-02-02 22:01:22 +01:00 committed by GitHub
parent 73deed01b2
commit a7a80ac54a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ if [[ "$KVM" != [Nn]* ]]; then
if [[ "${BOOT_MODE,,}" == "windows" ]]; then if [[ "${BOOT_MODE,,}" == "windows" ]]; then
CPU_FEATURES="kvm=on,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_passthrough" CPU_FEATURES="$CPU_FEATURES,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_passthrough"
fi fi
@ -45,7 +45,6 @@ else
KVM_OPTS="" KVM_OPTS=""
CPU_FEATURES="" CPU_FEATURES=""
MACHINE="$MACHINE,virtualization=on"
if [[ "${CPU_MODEL,,}" == "host"* ]]; then if [[ "${CPU_MODEL,,}" == "host"* ]]; then