bhyve instruction emulation should heed single-stepping
When the guest has enabled single-stepping (via rflags.tf), the instruction emulation in bhyve needs to inject
#DB after completing instruction emulation. It does not do this currently, meaning emulated instructions will act strangely as perceived by any in-guest debuggers.
This was discovered by running the KVM unit tests under bhyve, specifically the
FAIL: Single-step #DB on emulated instructions
FAIL: Usermode Single-step #DB on emulated instructions
No data to display