mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
basic/virt: Fix virtualbox detection on proprietary system via board_vendor
Identify an virtualbox instance even if product_name, sys_vendor and bios_vendor reflect the information of the real hardware, by checking if board_vendor == "Oracle Corporation" This fixes #13429 again The previous fix was removed in #21127
This commit is contained in:
parent
1aee6aa5c5
commit
5e3c08d375
|
@ -179,6 +179,7 @@ static Virtualization detect_vm_dmi_vendor(void) {
|
|||
{ "VMW", VIRTUALIZATION_VMWARE },
|
||||
{ "innotek GmbH", VIRTUALIZATION_ORACLE },
|
||||
{ "VirtualBox", VIRTUALIZATION_ORACLE },
|
||||
{ "Oracle Corporation", VIRTUALIZATION_ORACLE }, /* Detect VirtualBox on some proprietary systems via the board_vendor */
|
||||
{ "Xen", VIRTUALIZATION_XEN },
|
||||
{ "Bochs", VIRTUALIZATION_BOCHS },
|
||||
{ "Parallels", VIRTUALIZATION_PARALLELS },
|
||||
|
|
Loading…
Reference in a new issue