[PATCH] detect AWS arm virtual instance as kvm

Frank Liang xiliang at redhat.com
Wed May 25 06:34:53 UTC 2022


Hello,

aws arm virtual instances are running on top of Nitro hypervisor(KVM-based
hypervisor).
I am proposing this patch to keep virt-what output consistent with x86
virtual instances.
Please review it. Thanks

With this patch:
$ sudo virt-what
kvm
aws
$ cat /sys/devices/virtual/dmi/id/product_name
t4g.small

Without it:
$ sudo virt-what
aws

Here is the test pass log with this patch.
# cat test-suite.log
======================================================
   virt-what 1.22: tests/aws-kvm-arm/test-suite.log
======================================================

# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

Rgs,
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20220525/7c81dafb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-detect-AWS-arm-virtual-instance-as-kvm.patch
Type: text/x-patch
Size: 1677 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20220525/7c81dafb/attachment.bin>


More information about the virt-tools-list mailing list