Detected KVM when dmesg doesn't show "KVM" (#98)

This commit is contained in:
vvto33
2022-04-30 11:12:28 +09:00
committed by GitHub
parent e0fef8561f
commit d00c12c77d

View File

@@ -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