]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve(8): For prototyping, reattempt decode in userspace
authorcem <cem@FreeBSD.org>
Thu, 25 Jun 2020 00:18:42 +0000 (00:18 +0000)
committercem <cem@FreeBSD.org>
Thu, 25 Jun 2020 00:18:42 +0000 (00:18 +0000)
commitf64b25b13f1d3b12ad6a734eecd2d1975079ba90
tree4c95208c87ab228ca816d2f97f9c6b30dc91c531
parent035ddb21e49a5451f7ecf0e84fbde88783bac7b4
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