Bug 258550

Summary: kern.vm_guest not reported on Aarch64
Product: Base System Reporter: Vincent Milum Jr <freebsd>
Component: armAssignee: Andrew Turner <Andrew>
Status: Open ---    
Severity: Affects Some People CC: Andrew, emaste, virtualization
Priority: ---    
Version: CURRENT   
Hardware: arm64   
OS: Any   

Description Vincent Milum Jr 2021-09-16 23:11:07 UTC
vm_guest is never set on Aarch64, tested on ESXi ARM Fling

sysctl kern.vm_guest
kern.vm_guest: none


On AMD64 using ESXi, we have

sysctl kern.vm_guest
kern.vm_guest: vmware


Comparing these two files, there is no reference to vm_guest on Aarch64

Comment 1 Andrew Turner freebsd_committer 2021-11-15 15:59:11 UTC
I have a fix for this, but it modes code from sys/x86/x86/identcpu.c to a new file. I'd like to use this to clean up the license on this code while I'm here to not add a new 4 clause file & to clean up the copyright lines.