diff options
| author | Alexander Potapenko <glider@google.com> | 2025-09-30 15:13:04 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2025-10-17 06:51:20 +0000 |
| commit | 6f255ae2c60c113dc8eeae689561e439791cc502 (patch) | |
| tree | 72d8db4fa879d839c078380bc9777d9c38b1df79 /sys/linux | |
| parent | 8437e9b3412387dade0961faf0c3616de3903d91 (diff) | |
sys/linux/test: fix amd64-syz_kvm_setup_syzos_vm-wr_drn-shutdown
Now that we handle interrupts in the guest code, this program does
not shutdown anymore. Make sure it finishes correctly, and
rename the test case to avoid confusion.
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/test/amd64-syz_kvm_setup_syzos_vm-wr_drn-soft (renamed from sys/linux/test/amd64-syz_kvm_setup_syzos_vm-wr_drn-shutdown) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/linux/test/amd64-syz_kvm_setup_syzos_vm-wr_drn-shutdown b/sys/linux/test/amd64-syz_kvm_setup_syzos_vm-wr_drn-soft index ef85a54ff..d43310089 100644 --- a/sys/linux/test/amd64-syz_kvm_setup_syzos_vm-wr_drn-shutdown +++ b/sys/linux/test/amd64-syz_kvm_setup_syzos_vm-wr_drn-soft @@ -17,6 +17,7 @@ r5 = mmap$KVM_VCPU(&(0x7f0000009000/0x1000)=nil, r4, 0x3, 0x1, r3, 0x0) ioctl$KVM_RUN(r3, AUTO, 0x0) -# Ensure that exit reason is KVM_EXIT_SHUTDOWN, because the exception is unhandled. +# Ensure that the exception is handled by the guest, and the program finishes normally. # -syz_kvm_assert_syzos_kvm_exit$x86(r5, 0x8) +syz_kvm_assert_syzos_kvm_exit$x86(r5, 0x6) +syz_kvm_assert_syzos_uexit$x86(r5, 0xffffffffffffffff) |
