kvm_mips_bui...et_from_exit(9)
β¨ NAME β¨
okay so bestie, this is the Kernel API Manual page for kvm_mips_build_ret_from_exit β and the header is out here looking like kvm_mips_bui...et_from_exit(9), iykyk π
. The actual function is kvm_mips_build_ret_from_exit, and it does exactly one iconic thing: Assemble guest exit return handler. periodt π
πΈ SYNOPSIS πΈ
void * kvm_mips_build_ret_from_exit (void *addr );
π¦ ARGUMENTS π¦
addrβ Address to start writing code. That's it, that's the whole vibe: you hand it a spot, it starts assembling there β¨
π DESCRIPTION π
Assemble the code to handle the return from kvm_mips_handle_exit, either resuming the guest or returning to the host depending on the return value. No cap, that's the entire glow-up: this function builds the return-path handler, and the whole guest-vs-host fork in the road is decided by that return value π
π RETURN π
Next address after end of written function. So it gives you the address right after the function it just wrote β very βhere's where you keep goingβ energy π«Ά
β SEE ALSO β
Kernel file: ./arch/mips/kvm/entry.c
kvm_mips_entry_setup(9)build_set_exc_base(9)kvm_mips_build_vcpu_run(9)kvm_mips_build_enter_guest(9)kvm_mips_build_tlb_refill_exception(9)kvm_mips_build_exception(9)kvm_mips_build_exit(9)kvm_mips_build_ret_to_guest(9)kvm_mips_build_ret_to_host(9)
And that's the page, bestie π β catch you in the source tree at ./arch/mips/kvm, dated October 2026, with the footer's lil page name being kvm_mips_bui...et_from_exit(9) πβ¨
π¦ 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