1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

virt: detect OpenStack Nova instance

This commit is contained in:
w30023233 2022-04-19 21:05:25 +08:00 committed by Yu Watanabe
parent c52950c292
commit 01d9fbccdd

View File

@ -156,6 +156,7 @@ static Virtualization detect_vm_dmi_vendor(void) {
Virtualization id; Virtualization id;
} dmi_vendor_table[] = { } dmi_vendor_table[] = {
{ "KVM", VIRTUALIZATION_KVM }, { "KVM", VIRTUALIZATION_KVM },
{ "OpenStack", VIRTUALIZATION_KVM }, /* Detect OpenStack instance as KVM in non x86 architecture */
{ "Amazon EC2", VIRTUALIZATION_AMAZON }, { "Amazon EC2", VIRTUALIZATION_AMAZON },
{ "QEMU", VIRTUALIZATION_QEMU }, { "QEMU", VIRTUALIZATION_QEMU },
{ "VMware", VIRTUALIZATION_VMWARE }, /* https://kb.vmware.com/s/article/1009458 */ { "VMware", VIRTUALIZATION_VMWARE }, /* https://kb.vmware.com/s/article/1009458 */