kvm_mips_build_ret_to_guest(9)
π NAME π
kvm_mips_build_ret_to_guest β Assemble code to return to the guest.
This is the kvm_mips_build_ret_to_guest(9) page from the Kernel API Manual, bestie. π
β¨ SYNOPSIS β¨
void * kvm_mips_build_ret_to_guest (void *addr );
π ARGUMENTS π
addrβ Address to start writing code. That's literally where the code-writing begins, no cap.
π¦ DESCRIPTION π¦
Okay so this function assembles the code to handle return from the guest exit handler (kvm_mips_handle_exit) back to the guest. It's giving comeback-arc assembly realness, and honestly? Iconic. π
πΈ RETURN πΈ
Next address after end of written function. That's the pointer you get back after the written function ends, bestie. β¨
π SEE ALSO π
Kernel file ./arch/mips/kvm/entry.c is the spot, and these related pages are the squad:
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_from_exit(9)kvm_mips_build_ret_to_host(9)
source/version: ./arch/mips/kvm Β· date: October 2026 Β· manual: Kernel API Manual π«Άπ
π¦ 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