Build failure in usr.sbin/bhyvectl; sources at main-n263112-ad513b4dba3e

From: David Wolfskill <david_at_catwhisker.org>
Date: Wed, 24 May 2023 11:25:44 UTC
This is from an in-place source update from main-n263073-634a770a5e16 to
main-n263112-ad513b4dba3e:

...
Building /common/S4/obj/usr/src/amd64.amd64/lib/libc/tests/stdio/scanf_test
Building /common/S4/obj/usr/src/amd64.amd64/usr.bin/ncurses/dump_entry.o
Building /common/S4/obj/usr/src/amd64.amd64/usr.bin/mkimg/tests/img-1x1-4096-mbr.vhdx
Building /common/S4/obj/usr/src/amd64.amd64/cddl/usr.sbin/zfsd/zfsd.full
/usr/src/usr.sbin/bhyvectl/bhyvectl.c:2389:24: error: incompatible pointer types passing 'struct vm_exit *' to parameter of type 'struct vm_run *' [-Werror,-Wincompatible-pointer-types]
                error = vm_run(vcpu, &vmexit);
                                     ^~~~~~~
/common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/vmmapi.h:158:46: note: passing argument to parameter 'vmrun' here
int     vm_run(struct vcpu *vcpu, struct vm_run *vmrun);
                                                 ^
1 error generated.


Given that yesterday's update was uneventful, and that
src/usr.sbin/bhyvectl/bhyvectl.c has not changed in several days,
I'm guessing that perhaps a recent change to a header, possibly
involving vmexit, may be at issue here.

Peace,
david
-- 
David H. Wolfskill                              david@catwhisker.org
Folks who wish to control what others do with their bodies are often
called "conservative," when they are actually "authoritarian."

See https://www.catwhisker.org/~david/publickey.gpg for my public key.