diff options
| author | Alexander Potapenko <glider@google.com> | 2026-01-20 11:24:50 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2026-01-20 11:17:07 +0000 |
| commit | 88c380012ee818101167d1400550823398a15845 (patch) | |
| tree | f4888efd28872940c3454db27fa43163449689bb /sys/linux/dev_kvm_amd64.txt | |
| parent | 06648d9ccf5ec6f9453ef09b0fdbdebf020ee0f8 (diff) | |
executor: sys/linux: SYZOS: add AMD VMLOAD and VMSAVE primitives
This patch introduces SYZOS_API_NESTED_AMD_VMLOAD and
SYZOS_API_NESTED_AMD_VMSAVE.
These primitives allow the L1 guest to execute the VMLOAD and VMSAVE
instructions, which load/store additional guest state (FS, GS, TR, LDTR,
etc.) to/from the VMCB specified by the 'vm_id' argument.
This stresses the KVM L0 instruction emulator, which must validate the
L1-provided physical address in RAX and perform the state transfer.
Diffstat (limited to 'sys/linux/dev_kvm_amd64.txt')
| -rw-r--r-- | sys/linux/dev_kvm_amd64.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/dev_kvm_amd64.txt b/sys/linux/dev_kvm_amd64.txt index 0d90ceeab..4694f93cc 100644 --- a/sys/linux/dev_kvm_amd64.txt +++ b/sys/linux/dev_kvm_amd64.txt @@ -191,6 +191,8 @@ syzos_api_call$x86 [ nested_amd_clgi syzos_api$x86[383, void] nested_amd_inject_event syzos_api$x86[384, syzos_api_nested_amd_inject_event] nested_amd_set_intercept syzos_api$x86[385, syzos_api_nested_amd_set_intercept] + nested_amd_vmload syzos_api$x86[386, syzos_api_vm_id] + nested_amd_vmsave syzos_api$x86[387, syzos_api_vm_id] ] [varlen] kvm_text_x86 [ |
