mirror of
https://github.com/teddysun/across.git
synced 2025-01-19 06:19:35 +08:00
Detected KVM when dmesg doesn't show "KVM" (#98)
This commit is contained in:
parent
e0fef8561f
commit
d00c12c77d
2
bench.sh
2
bench.sh
@ -136,6 +136,8 @@ check_virt(){
|
|||||||
virt="OpenVZ"
|
virt="OpenVZ"
|
||||||
elif [[ "${virtualx}" == *kvm-clock* ]]; then
|
elif [[ "${virtualx}" == *kvm-clock* ]]; then
|
||||||
virt="KVM"
|
virt="KVM"
|
||||||
|
elif [[ "${sys_product}" == *KVM* ]]; then
|
||||||
|
virt="KVM"
|
||||||
elif [[ "${cname}" == *KVM* ]]; then
|
elif [[ "${cname}" == *KVM* ]]; then
|
||||||
virt="KVM"
|
virt="KVM"
|
||||||
elif [[ "${cname}" == *QEMU* ]]; then
|
elif [[ "${cname}" == *QEMU* ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user