[systemd-devel] [PATCH 0/2] arm/aarch64: detect-virt: check dmi

Wei Huang wei at redhat.com
Tue Nov 3 20:50:40 PST 2015



On 11/03/2015 03:19 PM, Andrew Jones wrote:
> ARM/AArch64 guests now have SMBIOS tables populated (when boot
> with a late enough QEMU and a late enough AAVMF is used as the
> bootloader). Furthermore, when booting ARM/AArch64 guests with
> ACPI, the DT detection obviously no longer works, so we need
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I think DT detection still works, right? But just because we have other
testing cases prior to device_tree, dt detection won't be triggered.

> dmi detection. Finally, we can now even determine KVM vs. QEMU
> as the SMBIOS contains 'KVM' in the product name, when using kvm.
> 
> The first patch in this series enables dmi detection on
> arm/aarch64. The second patch looks for KVM in the product name.
> I've only tested a backported version of these patches on an
> AArch64 guest (which worked). Of course it would be nice to get
> regression testing on all guest types that depend on dmi done.
> 
> Andrew Jones (2):
>   arm/aarch64: detect-virt: check dmi
>   detect-virt: dmi: look for KVM
> 
>  src/basic/virt.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 


More information about the systemd-devel mailing list