]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve(8): For prototyping, reattempt decode in userspace
authorConrad Meyer <cem@FreeBSD.org>
Thu, 25 Jun 2020 00:18:42 +0000 (00:18 +0000)
committerConrad Meyer <cem@FreeBSD.org>
Thu, 25 Jun 2020 00:18:42 +0000 (00:18 +0000)
commit4daa95f85d4c5b077295b4e1be1f5163b5dacfe9
tree4c95208c87ab228ca816d2f97f9c6b30dc91c531
parent54cca285fc3d32e0be4028d17c055424b49f4f7d
bhyve(8): For prototyping, reattempt decode in userspace

If userspace has a newer bhyve than the kernel, it may be able to decode
and emulate some instructions vmm.ko is unaware of.  In this scenario,
reset decoder state and try again.

Reviewed by: grehan
Differential Revision: https://reviews.freebsd.org/D24464
sys/amd64/include/vmm.h
sys/amd64/include/vmm_instruction_emul.h
sys/amd64/vmm/vmm_instruction_emul.c
usr.sbin/bhyve/bhyverun.c