Re: [PATCH v3] x86/bhyve: Detect FreeBSD Bhyve hypervisor

From: David Woodhouse
Date: Fri Aug 15 2025 - 14:04:46 EST


On Fri, 2025-08-15 at 14:03 +0100, David Woodhouse wrote:
>
> +static uint32_t bhyve_features(void)
> +{
> + if (bhyve_cpuid_max < bhyve_cpuid_base |
> CPUID_BHYVE_FEATURES)

Meh, needs parens around the 'bhyve_cpuid_base | CPUID_BHYVE_FEATURES',
which somehow I didn't see in the first build.

I shall persist in *trying* to get a Bhyve setup which actually manages
to boot a guest (or failing that, getting someone to boot it for me
since Bhyve clearly hates me) before sending v4 with that fixed.

Attachment: smime.p7s
Description: S/MIME cryptographic signature