kvm_arch_vcpu_ioctl_run(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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

Go read those too, bestie. It’s giving lore. 🌈


πŸŽ€ Cute sign-off: source/version is ./arch/arm64/kvm, dated October 2026, and this is the kvm_arch_vcpu_ioctl_run(9) page. Bye bestie, go run that VCPU πŸ’…πŸ’–πŸ«Ά
πŸ“¦ where this page comes from