From 8d22bd8bfc28c79be87ab5da9975cbfe8c78beee Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Wed, 14 Jan 2026 10:15:48 +0100 Subject: docs: tweak syzos.md to reflect void arguments --- docs/syzos.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/syzos.md b/docs/syzos.md index df292ea72..60730ae28 100644 --- a/docs/syzos.md +++ b/docs/syzos.md @@ -165,7 +165,7 @@ Modify the architecture-specific executor header (e.g., `executor/common_kvm_amd GUEST_CODE static void guest_handle_nested_amd_vmcb_write_mask(struct api_call_5* cmd, uint64 cpu_id); ``` -Note: make sure to choose the optimal api_call_N structure that exactly matches the number of arguments required by your new primitive (e.g., use struct api_call_2 for a command needing two arguments). +Note: make sure to choose the optimal api_call_N structure that exactly matches the number of arguments required by your new primitive (e.g., use struct api_call_2 for a command needing two arguments). If no arguments are required, omit the `cmd` parameter altogether. If the guest code does not access VMCB/VMCS, omit the `cpu_id` parameter. ### Step 2: Implement Guest Logic and Dispatch In the same file (or corresponding source), implement the guest logic. -- cgit mrf-deployment