Re: [Retitled!] some under-VM detections for non-amd64 may be broken
Olivier Cochard-Labbé <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm,gmane.os.freebsd.current |
|---|---|
| Message-ID | <CA+q+TcpbFufKDj5yaVDArKZo6+S1Nrufv5-O_LzH1SDnmLX6CA@mail.gmail.com> |
On Wed, Feb 19, 2025 at 6:05 PM Mark Millard <[email protected]> wrote: > > Another example might be if new VM contexts should be added, > such as UTM for macOS. What do kenv smbios.system.product , > sysctl kern.vm_guest , and sysctl kern.hz report for UTM on: > > ) amd64 macOS > ) aarch64 macOS > ) . . . ? > Hi, UTM on Apple M3 running aarch64 FreeBSD VM (main branch): olivier@vm:~ $ kenv smbios.system.product QEMU Virtual Machine olivier@vm:~ $ sysctl kern.vm_guest kern.vm_guest: generic olivier@vm:~ $ sysctl kern.hz kern.hz: 100 UTM on Apple Intel running amd64 FreeBSD 14.2 VM: root@freebsd:~ # kenv smbios.system.product Standard PC (Q35 + ICH9, 2009) root@freebsd:~ # sysctl kern.vm_guest kern.vm_guest: generic root@freebsd:~ # sysctl kern.hz kern.hz: 100 UTM on Apple Intel running aarch64 FreeBSD 14.2 VM: root@freebsd:~ # kenv smbios.system.product QEMU Virtual Machine root@freebsd:~ # sysctl kern.vm_guest kern.vm_guest: generic root@freebsd:~ # sysctl kern.hz kern.hz: 100 Regards, Olivier