detect AWS arm virtual instance as kvm
authorXiao Liang <xiliang@redhat.com>
Tue, 24 May 2022 09:34:52 +0000 (17:34 +0800)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 9 Aug 2022 07:54:59 +0000 (08:54 +0100)
commit39001e7c458d798225814c04e920583fa7e2a41c
tree28683eb101830659b2f6cffde62a602cd7d2e201
parentda3568b25a582603ba15690793c8867cc7c5d2a8
detect AWS arm virtual instance as kvm

AWS arm virtual instance is KVM based hypervisor.
With this patch:
$ sudo virt-what
kvm
aws
$ cat /sys/devices/virtual/dmi/id/product_name
t4g.small

Without it:
$ sudo virt-what
aws

Signed-off-by: Xiao Liang <xiliang@redhat.com>
tests/aws-kvm-arm/test.sh
virt-what.in