bhyve needs instruction emul tests
As more unit tests are written as part of the
system/bhyve/tests package, it would be nice to have some for the in-kernel instruction emulation. It should be relatively straightforward to create a simple guest environment with a small flat memory space into which isolated instruction tests can be injected and run. The userspace portion of the test could service the as-expected VM exits and check that the desired vCPU states are achieved.