mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-09-20 06:54:15 +00:00
feat: Refactor status monitor (#1206)
This commit is contained in:
+1
-1
@@ -56,7 +56,6 @@ configureKvmCpuModel() {
|
||||
}
|
||||
|
||||
appendKvmInvtscFeature() {
|
||||
|
||||
if grep -qw "svm" <<< "$flags"; then
|
||||
|
||||
# AMD processor
|
||||
@@ -67,6 +66,7 @@ appendKvmInvtscFeature() {
|
||||
else
|
||||
|
||||
# Intel processor
|
||||
local vmx
|
||||
vmx=$(sed -ne '/^vmx flags/s/^.*: //p' /proc/cpuinfo)
|
||||
|
||||
if grep -qw "tsc_scaling" <<< "$vmx"; then
|
||||
|
||||
Reference in New Issue
Block a user