From 7465ed05d995335737d4f157ddb344444a102419 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Tue, 17 Feb 2026 08:54:44 +0100 Subject: executor: restore dummy_null_handler() Somehow one of the previous patches made dummy_null_handler() behave like uexit_irq_handler(). Restore the original handler behavior. --- executor/common_kvm_amd64_syzos.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'executor') diff --git a/executor/common_kvm_amd64_syzos.h b/executor/common_kvm_amd64_syzos.h index 9ff5af6d0..10e4a5e49 100644 --- a/executor/common_kvm_amd64_syzos.h +++ b/executor/common_kvm_amd64_syzos.h @@ -180,14 +180,9 @@ typedef enum { CPU_VENDOR_AMD, } cpu_vendor_id; -__attribute__((naked)) -GUEST_CODE static void -dummy_null_handler() +__attribute__((naked)) GUEST_CODE static void dummy_null_handler() { - asm volatile(R"( - movq $-2, %%rdi - call guest_uexit - )" ::: "memory", "rdi", "cc"); + asm("iretq"); } __attribute__((naked)) GUEST_CODE static void uexit_irq_handler() -- cgit mrf-deployment