CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/02/16 06:08:57
Modified files:
regress/sys/arch/amd64: Makefile
Added files:
regress/sys/arch/amd64/vmmcall: Makefile vmmcall.c
Log message:
regress: Test vmmcall raises #UD
On AMD/SVM the hypervisor will inject #UD when userland tries to
execute the vmmcall instruction. Same holds for vmgexit which is
encode as "rep vmmcall".
On Intel/VMX vmmcall and vmgexit are invalid instructions, so the
CPU will raise #UD.
ok mlarkin@
