From 0c2e1647a23d32431208ff218f6ee59cd9c216b5 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Thu, 15 Jan 2026 10:59:01 +0100 Subject: sys/linux/test: update after syz_kvm_assert_syzos_uexit API change This patch updates all relevant regression tests in sys/linux/test/ to align with the API change introduced in syz_kvm_assert_syzos_uexit. The syz_kvm_assert_syzos_uexit syscall now requires the VCPU file descriptor as its first argument. --- sys/linux/test/amd64-syz_kvm_nested_amd_stgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/linux/test/amd64-syz_kvm_nested_amd_stgi') diff --git a/sys/linux/test/amd64-syz_kvm_nested_amd_stgi b/sys/linux/test/amd64-syz_kvm_nested_amd_stgi index 21f57e878..fb370c7ce 100644 --- a/sys/linux/test/amd64-syz_kvm_nested_amd_stgi +++ b/sys/linux/test/amd64-syz_kvm_nested_amd_stgi @@ -21,7 +21,7 @@ r5 = mmap$KVM_VCPU(&(0x7f0000009000/0x1000)=nil, r4, 0x3, 0x1, r3, 0x0) # Run 1: Execute CLGI -> UEXIT(0x1337) # ioctl$KVM_RUN(r3, AUTO, 0x0) -syz_kvm_assert_syzos_uexit$x86(r5, 0x1337) +syz_kvm_assert_syzos_uexit$x86(r3, r5, 0x1337) # Inject NMI into the vCPU. # Since GIF=0 in the guest, this NMI should be queued by L0. @@ -39,9 +39,9 @@ ioctl$KVM_RUN(r3, AUTO, 0x0) # If the guest handles it transparently, we see 0xface. # For this regression test, ensuring we don't crash L0 is the primary goal. # -syz_kvm_assert_syzos_uexit$x86(r5, 0xface) +syz_kvm_assert_syzos_uexit$x86(r3, r5, 0xface) # Cleanup. # ioctl$KVM_RUN(r3, AUTO, 0x0) -syz_kvm_assert_syzos_uexit$x86(r5, 0xffffffff) +syz_kvm_assert_syzos_uexit$x86(r3, r5, 0xffffffff) -- cgit mrf-deployment