diff options
| author | Alexander Potapenko <glider@google.com> | 2026-02-17 08:54:44 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2026-02-17 09:13:39 +0000 |
| commit | 7465ed05d995335737d4f157ddb344444a102419 (patch) | |
| tree | 1259d116f8c25e8df2c45ffb9fe1c7ca484297de /executor | |
| parent | d7b7acf8d24bf885bafe1fbf0a979c3ffa59951d (diff) | |
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.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_kvm_amd64_syzos.h | 9 |
1 files changed, 2 insertions, 7 deletions
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() |
