Recognize "Google Compute Engine" in smbios system information product name as an indicator of KVM-based virtualization. Working hypervisor detection is necessary on GCE in order to apply PCI_QUIRK_ENABLE_MSI_VM.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
This is a much more GCE specific change for hypervisor detection. Works on arm64 and amd64 VM types.
And how does a "-metal" (ie: Bare metal) Google Compute Engine behave with this patch?
Currently bare metal is not supported with FreeBSD on Google Compute Engine, but there are plans to support it soon. However, this change would indeed cause future bare metal instances to be incorrectly marked as using KVM-based virtualization. From some internal investigation, it is not immediately clear if there are consistent differences between virtualized versus bare metal instances in terms of info in the SMBIOS tables.
When I get a chance I'll fire up some bare metal vms and see what I get out of dmidecode. On vacation this week so it'll be a little bit.