Re: [PATCH v4] x86/bhyve: Detect FreeBSD Bhyve hypervisor
From: Ahmed S. Darwish
Date: Mon Aug 18 2025 - 05:41:49 EST
On Sat, 16 Aug 2025, David Woodhouse wrote:
>
> Signed-off-by: David Woodhouse <dwmw@xxxxxxxxxxxx>
> ---
> Wheee, now actually tested under Bhyve.
>
> [ 0.000000] Hypervisor detected: Bhyve
>
> v4:
> • Add missing parens around (bhyve_cpuid_base | CPUID_BHYVE_FEATURES)
> • Drop unneeded comment about x2apic support
>
> v3:
> • Drop the cpuid_level check
> • Define and use BHYVE_SIGNATURE
> • Use the actual definition of CPUID_BHYVE_FEATURES and logical OR
> instead of adding, as we do for other hypervisor leaves elsewhere
> • Fix bhyve_cpuid_max miscalculation mistake
>
Thanks! For the CPUID bits:
Acked-by: Ahmed S. Darwish <darwi@xxxxxxxxxxxxx>