hcall_create_vm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ hcall_create_vm β€” from the Kernel API Manual, bestie πŸ’…

okay so real talk, this is a kernel API manual page for hcall_create_vm(9) and it's lowkey iconic because it does exactly one job: create a User VM. that's it, that's the whole vibe. no cap ✨


πŸ’– NAME πŸ’–

hcall_create_vm β€” literally just "Create a User VM", that's the entire personality πŸŽ€


✨ SYNOPSIS ✨

long hcall_create_vm (u64 vminfo );

that's the function signature, keep it exactly like that, do not come for my spacing πŸ™ˆ


🌸 ARGUMENTS 🌸

  • vminfo β€” the Service VM GPA of the info of User VM creation 🫢 like, it's the address-y thing that points at the creation info. that's what it is. slay.

πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” we love a win πŸ’–
  • <0 on failure β€” and if you see this, it did not eat, it flopped 😭

πŸ‘‘ SEE ALSO πŸ‘‘

kernal file is ./drivers/virt/acrn/hypercall.h and bestie there is a whole friend group of these hypercalls, so let me introduce you to all of them, no skipping, we don't do that here πŸ’…:

like, the whole squad is in ./drivers/virt/acrn/hypercall.h β€” go say hi πŸ¦‹


mwah πŸ’œ that's the page!! this one lives in ./drivers/virt/acrn, dated October 2026, and honestly? she ate. go create some User VMs responsibly, ily, bye πŸŽ€βœ¨

πŸ“¦ where this page comes from