diff options
| author | Alexander Potapenko <glider@google.com> | 2025-11-18 12:07:13 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2025-11-19 08:59:40 +0000 |
| commit | 5af4be3c78a6a9fc6a3c9c3d1a48151f190c9221 (patch) | |
| tree | ffc583dc53550376e34eb33fceafad7b74076cf6 /sys | |
| parent | 3bf489934f218dfcb171b6db6db3ecce818971db (diff) | |
executor: sys/linux: implement SYZOS_API_NESTED_LOAD_CODE
The new command loads an instruction blob into the specified L2 VM.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/linux/dev_kvm_amd64.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/linux/dev_kvm_amd64.txt b/sys/linux/dev_kvm_amd64.txt index 9beb5cd27..8122df1d0 100644 --- a/sys/linux/dev_kvm_amd64.txt +++ b/sys/linux/dev_kvm_amd64.txt @@ -96,6 +96,11 @@ syzos_api_set_irq_handler { type syzos_api_vm_id int64[0:3] +syzos_api_nested_load_code { + vm_id syzos_api_vm_id + insns text[x86_64] +} [packed] + # IDs here must match those in executor/common_kvm_amd64_syzos.h. syzos_api_call$x86 [ uexit syzos_api$x86[0, intptr] @@ -110,6 +115,7 @@ syzos_api_call$x86 [ set_irq_handler syzos_api$x86[200, syzos_api_set_irq_handler] enable_nested syzos_api$x86[300, const[0, intptr]] nested_create_vm syzos_api$x86[301, syzos_api_vm_id] + nested_load_code syzos_api$x86[302, syzos_api_nested_load_code] ] [varlen] kvm_text_x86 [ |
