kvm_riscv_vc...rap_redirect(9)
π kvm_riscv_vcpu_trap_redirect π
okay bestie, so this page lives in the Kernel API Manual and it's literally called kvm_riscv_vcpu_trap_redirect (the header up top gets truncated to kvm_riscv_vc...rap_redirect(9) because terminals are dramatic like that) π
β¨ NAME β¨
kvm_riscv_vcpu_trap_redirect β Redirect trap to Guest π (yes the original really does write it as "- - Redirect trap to Guest", she's just Like That π
)
π¦ SYNOPSIS π¦
void kvm_riscv_vcpu_trap_redirect (struct kvm_vcpu *vcpu , struct
kvm_cpu_trap *trap );
no cap, that's the whole signature β it returns void, so it gives you nothing back except vibes β¨
πΈ ARGUMENTS πΈ
vcpuβ The VCPU pointer π«Ά this is the main character of the whole situationtrapβ Trap details π all the juicy info about the trap itself
π SEE ALSO π
- Kernel file
./arch/riscv/kvm/vcpu_exit.cβ that's where the source lives, go read it iykyk π kvm_riscv_vcpu_unpriv_read(9)β the sibling page, go say hi π«
π real talk: that's genuinely everything on the page. no extra flags, no env vars, no exit statuses, nothing hiding. it's giving short-and-sweet.
and that's a wrap, bestie!! π this page comes to you from ./arch/riscv/kvm and it was stamped October 2026, so mark your calendar, mwah πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms