kvm_riscv_vcpu_mmio_load(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, meet kvm_riscv_vcpu_mmio_load(9) β€” we're in the Kernel API Manual πŸ’– This one is literally about emulating an MMIO load instruction, no cap.


✨ SYNOPSIS ✨

int kvm_riscv_vcpu_mmio_load (struct kvm_vcpu *vcpu , struct kvm_run
       *run , gpa_t fault_addr , unsigned long htinst );

πŸŽ€ ARGUMENTS πŸŽ€

  • vcpu β€” the VCPU pointer, aka the vCPU bestie you're working with 🫢
  • run β€” the VCPU run struct containing the mmio data, iconic.
  • fault_addr β€” guest physical address to load πŸ‘‘
  • htinst β€” transformed encoding of the load instruction, periodt.

πŸ’… DESCRIPTION πŸ’…

Return-code vibe check, because this function is giving choices:

  • > 0 β€” continue the run-loop, slay ✨
  • 0 β€” exit the run-loop and handle it in user-space πŸ¦‹
  • < 0 β€” report failure and exit the run-loop 😭

🌈 SEE ALSO 🌈


and that's the whole page, bestie πŸ’œ cute little sign-off: this one comes from the source path ./arch/riscv/kvm, dated October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from