kvm_arch_vcpu_ioctl_run(9)
π kvm_arch_vcpu_ioctl_run(9) β main character VCPU run energy β¨
bestie, youβre in the Kernel API Manual and this page is all about kvm_arch_vcpu_ioctl_run(9). Itβs literally the main VCPU run function. We love a functional icon. π
π NAME π
kvm_arch_vcpu_ioctl_run β the main VCPU run function to execute guest code. Periodt. π
β¨ SYNOPSIS β¨
int kvm_arch_vcpu_ioctl_run (struct kvm_vcpu *vcpu );
π«Ά ARGUMENTS π«Ά
vcpuβ The VCPU pointer. Thatβs the argument, bestie. π«Ά
πΈ DESCRIPTION πΈ
Okay so, the tea: this function is called through the VCPU_RUN ioctl called from user space. It will execute VM code in a loop until the time slice for the process is used, or some emulation is needed from user space. In that case, the function will return with return value 0 and with the kvm_run structure filled in with the required data for the requested emulation. No cap, thatβs the whole flow. π₯
π¦ SEE ALSO π¦
Kernel file: ./arch/arm64/kvm/arm.c
kvm_arch_init_vm(9)kvm_arch_destroy_vm(9)kvm_arch_vcpu_runnable(9)kvm_vcpu_wfi(9)check_vcpu_requests(9)kvm_vcpu_exit_request(9)
Go read those too, bestie. Itβs giving lore. π
π Cute sign-off: source/version is./arch/arm64/kvm, dated October 2026, and this is thekvm_arch_vcpu_ioctl_run(9)page. Bye bestie, go run that VCPU π ππ«Ά
π¦ 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