mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-18 08:55:42 +08:00
Merge pull request #13038 from swordqiu/automated-cherry-pick-of-#13036-upstream-release-3.7
Automated cherry pick of #13036: fix: enable kvm_pv_eoi by default
This commit is contained in:
@@ -478,8 +478,11 @@ function nic_mtu() {
|
||||
cpuType = "Penryn,vendor=GenuineIntel"
|
||||
} else if options.HostOptions.HostCpuPassthrough {
|
||||
cpuType = "host"
|
||||
// https://unix.stackexchange.com/questions/216925/nmi-received-for-unknown-reason-20-do-you-have-a-strange-power-saving-mode-ena
|
||||
cpuType += ",+kvm_pv_eoi"
|
||||
} else {
|
||||
cpuType = "qemu64"
|
||||
cpuType += ",+kvm_pv_eoi"
|
||||
if sysutils.IsProcessorIntel() {
|
||||
cpuType += ",+vmx"
|
||||
cpuType += ",+ssse3,+sse4.1,+sse4.2,-x2apic,+aes,+avx"
|
||||
|
||||
Reference in New Issue
Block a user