git: x86_64/initcpu: Improve VMM/hypervisor detection

Aaron LI aly at crater.dragonflybsd.org
Fri Aug 22 20:27:12 PDT 2025


commit 4748bc7d1e6e0f8efca82e9e4b463ef360a5045f
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Aug 21 21:05:18 2025 +0800

    x86_64/initcpu: Improve VMM/hypervisor detection
    
    Improve detect_vmm() to use a table of VMMs to detect the supported
    VMMs/hypervisors, and then add the detection of Xen, bhyve, VirtualBox.
    
    Credit: FreeBSD

Summary of changes:
 sys/platform/pc64/x86_64/initcpu.c | 36 ++++++++++++++++++++++++------------
 1 file changed, 24 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4748bc7d1e6e0f8efca82e9e4b463ef360a5045f


-- 
DragonFly BSD source repository


More information about the Commits mailing list