HomeFreeBSD

vmm_instruction_emul.c: fix bhyve build

Description

vmm_instruction_emul.c: fix bhyve build

The diagused macro was used to cure a "set but not used" warning. This
broke the build for bhyve since
diagused is only defined in the
kernel. Define __diagused when not building the kernel.

Fixes: 5241577a223d ("vmm: fix set but not used warning")
Reported by: Jenkins

Details

Provenance
rewAuthored on Apr 10 2022, 9:37 PM
Parents
rGbe0d16b0b05c: bsdinstall: filter out disks that are unavailable from the list of options in…
Branches
Unknown
Tags
Unknown