mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-07 08:57:33 +08:00
feat: Add hypervisor flag
This commit is contained in:
parent
4a9ae82d92
commit
2b777e1403
@ -50,7 +50,7 @@ fi
|
||||
|
||||
if [[ "$KVM" != [Nn]* ]]; then
|
||||
|
||||
CPU_FEATURES="kvm=on,l3-cache=on"
|
||||
CPU_FEATURES="kvm=on,l3-cache=on,+hypervisor"
|
||||
KVM_OPTS=",accel=kvm -enable-kvm -global kvm-pit.lost_tick_policy=discard"
|
||||
|
||||
if ! grep -qw "sse4_2" <<< "$flags"; then
|
||||
@ -67,7 +67,7 @@ if [[ "$KVM" != [Nn]* ]]; then
|
||||
else
|
||||
|
||||
KVM_OPTS=""
|
||||
CPU_FEATURES="l3-cache=on"
|
||||
CPU_FEATURES="l3-cache=on,+hypervisor"
|
||||
|
||||
if [[ "$ARCH" == "amd64" ]]; then
|
||||
KVM_OPTS=" -accel tcg,thread=multi"
|
||||
|
Loading…
x
Reference in New Issue
Block a user