Checking bhyve supported features (sysctls)
Matt Churchyard
matt.churchyard at userve.net
Thu Aug 16 10:17:01 UTC 2018
Hello,
I'm looking for better ways to check for bhyve support / available features without trying to scan through dmesg output.
I notice that the following 2 sysctl's appear to be set to 1 as soon as the vmm module is loaded
hw.vmm.vmx.initialized: 1
hw.vmm.vmx.cap.unrestricted_guest: 1
Will these be available on both Intel & AMD processors as a way to determine if the module has loaded successfully and can run guests?
I also see the below sysctl related to iommu.
hw.vmm.iommu.initialized
Again, will this be set to 1 as soon as the module is loaded if iommu is supported, or only when it is used?
There also seems to be a vmm.amdvi.enable sysctl. Would both these need checking or is vmm.iommu enough to determine support on any processor.
Matt
More information about the freebsd-virtualization
mailing list