This is a faithful port of two bhyve improvements coming from illumos:
- 14485 bhyve needs better cpuid control https://www.illumos.org/issues/14485 This adds vmm kernel support for overriding the CPUID information for a guest.
- 16223 bhyve returns bogus cpuid 8000_001D leaf https://www.illumos.org/issues/16223 This fixes an issue in 14485 discovered on AMD CPUs.
This does not include the bhyve tests added with illumos#14485 since
FreeBSD lacks the bhyve test suite. This does also not contain any
libvmmapi/bhyve userspace code to make this feature actually useful.