feat: Set KVM tick policy (#620)

This commit is contained in:
Kroese 2024-02-05 12:09:12 +01:00 committed by GitHub
parent 8297f4f880
commit a478b58f97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,8 +38,8 @@ fi
if [[ "$KVM" != [Nn]* ]]; then
KVM_OPTS=",accel=kvm -enable-kvm"
CPU_FEATURES="kvm=on,l3-cache=on"
KVM_OPTS=",accel=kvm -enable-kvm -global kvm-pit.lost_tick_policy=discard"
if ! grep -qE '^flags.* (sse4_2)' /proc/cpuinfo; then
info "Your CPU does not have the SSE4 instruction set that Virtual DSM requires, it will be emulated..."