STRUCT VM_MEMORY_REGION_OP(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual page for struct vm_memory_region_op(9) β literally the hypervisor memory operation moment π
. The official one-liner is:
struct vm_memory_region_op β Hypervisor memory operation β¨
β¨ SYNOPSIS β¨
struct vm_memory_region_op {
u32 type;
u32 attr;
u64 user_vm_pa;
u64 service_vm_pa;
u64 size;
};
π«Ά Members π«Ά
typeβ Operation type (ACRN_MEM_REGION_*) β the βwhat kind of op are we doingβ label π.attrβ Memory attribute (ACRN_MEM_TYPE_*|ACRN_MEM_ACCESS_*) β the memoryβs whole vibe and access-permission sitch π.user_vm_paβ Physical address of User VM to be mapped π.service_vm_paβ Physical address of Service VM to be mapped π.sizeβ Size of this region π.
π Description π
This struct is the info packet you hand to the ACRN Hypervisor so it can manage the EPT mappings of a single memory region of the User VM π§. It contains the needed information, no cap. Several struct vm_memory_region_op can be batched to ACRN Hypervisor β see struct vm_memory_region_batch π¦.
π₯ SEE ALSO π₯
- Kernel file
./drivers/virt/acrn/acrn_drv.h,struct vm_memory_region_batch(9)π struct vm_memory_mapping(9)struct acrn_ioreq_buffer(9)struct acrn_ioreq_client(9)struct acrn_vm(9)
mwah π β sourced from ./drivers/virt/acrn, dated October 2026, all about struct vm_memory_region_op(9) β¨
π¦ 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