acrn_mm_region_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

hiii bestie πŸ’– welcome to the acrn_mm_region_add(9) page, straight outta the Kernel API Manual β€” it’s giving β€œset up the EPT mapping of a memory region” and honestly? iconic.


🌸 SYNOPSIS 🌸

int acrn_mm_region_add (struct acrn_vm *vm , u64 user_gpa , u64 service_gpa , u64 size , u32 mem_type , u32 mem_access_right );

πŸŽ€ ARGUMENTS πŸŽ€

okay so here’s the cast of characters, no cap:

  • vm β€” User VM. main character energy fr fr 🫢
  • user_gpa β€” a GPA of User VM.
  • service_gpa β€” a GPA of Service VM.
  • size β€” size of the region.
  • mem_type β€” combination of ACRN_MEM_TYPE_*. slay ✨
  • mem_access_right β€” combination of ACRN_MEM_ACCESS_*. periodt πŸ’…

🌈 RETURN 🌈

0 on success, <0 on error. that’s the whole vibe check 😌


πŸ¦‹ SEE ALSO πŸ¦‹

go peek at these besties:


bestie reminder: this page is here to help you understand the function β€” but the literal names, values, paths, and references above stay exactly as they are. iykyk πŸ’œ

okay bye babe 🫢 this lil page lives in ./drivers/virt/acrn and is dated October 2026 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from