HomeFreeBSD

Detect virtual machines on FreeBSD using the kern.vm_guest sysctl

Description

Detect virtual machines on FreeBSD using the kern.vm_guest sysctl

kern.vm_guest == none -> not a virtual machine

It's a bit of a misnomer with the function being named isQEMU... but FreeBSD's
support seems to be a bit more all-encompassing than NetBSD's is today.

Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS304829: Prevent BSS from being cleared twice on BookE
Branches
Unknown
Tags
Unknown