git: libnvmm(3): Remove unneeded segment checks on CS
Aaron LI
aly at crater.dragonflybsd.org
Tue Sep 1 06:09:04 PDT 2026
commit 7ae9bfc117a5868e580708ac4cda76104b831050
Author: Aaron LI <aly at aaronly.me>
Date: Tue Sep 1 08:58:27 2026 +0800
libnvmm(3): Remove unneeded segment checks on CS
If the CS attributes did not allow the instruction to execute,
then the guest would have received an internal #GP and we wouldn't
have received an IO/MMIO VMEXIT. So no need to validate the CS
attributes.
Obtained-from: NVMM Reference Implementation
Summary of changes:
lib/libnvmm/libnvmm_x86.c | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ae9bfc117a5868e580708ac4cda76104b831050
--
DragonFly BSD source repository
More information about the Commits
mailing list