> > vmm kernel module and bhyve userland are sharing a cpuset_t. So, this > > commit introduces a mismatch in the ioctl signature of VM_RUN. Any > > advice how to fix this properly, would be appreciated. > > > > [1] > > https://github.com/freebsd/freebsd-src/blob/c543e09f1f8ef98f201f7dd3f34ae023d61dfa83/sys/amd64/include/vmm.h#L759 > > On one hand this really should not be a part of the abi (you could > have a pointer to cpuset and a a var stating the size). > > On the other hand, i suspect the least problematic long term solution > is to introduce usercpuset_t (or whatever the name) and have a > conversion func on import. This would still mean you need a kernel and > user variant of the vm_exit struct.
Sorry about the breakage. I originally planned to bump both MAXCPU and cpuset_t size to 1024 in one commit, but split them in part to find unintended dependencies. I can revert the change for now and recommit it after one of the above is done.
