git: kernel: Detect NVMM hypervisor

Aaron LI aly at crater.dragonflybsd.org
Fri Jul 2 07:05:03 PDT 2021


commit 45dd33f25a21807f2e759f0267b1faf6c6581700
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Jul 2 07:24:52 2021 +0800

    kernel: Detect NVMM hypervisor
    
    Now sysctl 'kern.vmm_guest' would report 'nvmm' instead of 'unknown'
    when running in NVMM hypervisor.
    
    Suggested-by: swildner

Summary of changes:
 sys/kern/subr_param.c              | 1 +
 sys/platform/pc64/x86_64/initcpu.c | 2 ++
 sys/sys/kernel.h                   | 1 +
 3 files changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/45dd33f25a21807f2e759f0267b1faf6c6581700


-- 
DragonFly BSD source repository


More information about the Commits mailing list