]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
virt: detect OpenStack Nova instance
authorw30023233 <wangyuhang27@huawei.com>
Tue, 19 Apr 2022 13:05:25 +0000 (21:05 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 19 Apr 2022 17:32:33 +0000 (02:32 +0900)
src/basic/virt.c

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