From d00c12c77d5028ba79a604ae2f14a5ef1a23b32c Mon Sep 17 00:00:00 2001 From: vvto33 <54504675+vvto33@users.noreply.github.com> Date: Sat, 30 Apr 2022 11:12:28 +0900 Subject: [PATCH] Detected KVM when dmesg doesn't show "KVM" (#98) --- bench.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bench.sh b/bench.sh index fde329d..9edc77d 100644 --- a/bench.sh +++ b/bench.sh @@ -136,6 +136,8 @@ check_virt(){ virt="OpenVZ" elif [[ "${virtualx}" == *kvm-clock* ]]; then virt="KVM" + elif [[ "${sys_product}" == *KVM* ]]; then + virt="KVM" elif [[ "${cname}" == *KVM* ]]; then virt="KVM" elif [[ "${cname}" == *QEMU* ]]; then