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

Andrew Jones drjones at redhat.com
Tue Nov 3 13:19:26 PST 2015


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
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(-)

-- 
2.4.3



More information about the systemd-devel mailing list