aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_kvm_amd64.txt
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2026-01-14 10:09:53 +0100
committerAlexander Potapenko <glider@google.com>2026-01-15 07:19:29 +0000
commit0a1338c68f19bbea13b3ae7ce61a185b6a5f65ef (patch)
treec3d8f5ed55ec4911b3fed2fcbd45900a5c618790 /sys/linux/dev_kvm_amd64.txt
parent8d22bd8bfc28c79be87ab5da9975cbfe8c78beee (diff)
executor: sys/linux: SYZOS: add support for AMD STGI and CLGI instructions
Implement the SYZOS_API_NESTED_AMD_STGI and SYZOS_API_NESTED_AMD_CLGI primitives to toggle the Global Interrupt Flag (GIF). These commands execute the stgi and clgi instructions respectively and require no arguments. Also add a test checking that CLGI correctly masks NMI injection from L0.
Diffstat (limited to 'sys/linux/dev_kvm_amd64.txt')
-rw-r--r--sys/linux/dev_kvm_amd64.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/dev_kvm_amd64.txt b/sys/linux/dev_kvm_amd64.txt
index abdde5644..ba5fa6e4c 100644
--- a/sys/linux/dev_kvm_amd64.txt
+++ b/sys/linux/dev_kvm_amd64.txt
@@ -172,6 +172,8 @@ syzos_api_call$x86 [
nested_intel_vmwrite_mask syzos_api$x86[340, syzos_api_nested_intel_vmwrite_mask]
nested_amd_vmcb_write_mask syzos_api$x86[380, syzos_api_nested_amd_vmcb_write_mask]
nested_amd_invlpga syzos_api$x86[381, syzos_api_nested_amd_invlpga]
+ nested_amd_stgi syzos_api$x86[382, void]
+ nested_amd_clgi syzos_api$x86[383, void]
] [varlen]
kvm_text_x86 [