Add virtualization features to sitesonar
This script inspects the output from lscpu
and checks if some
virtualization related fields are set.
Output examples:
- virtualization is enabled, but it does not run in a virtual machine:
{ "Virtualization:": " AMD-V", "Hypervisor vendor:": "N/A", "Virtualization type:": "N/A"}
- it runs inside a KVM virtual machine:
{ "Virtualization:": "N/A", "Hypervisor vendor:": " KVM", "Virtualization type:": " full"}
Signed-off-by: Elena Mihailescu maria.mihailescu@upb.ro