Home
last modified time | relevance | path

Searched refs:memory_mib (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs59 pub memory_mib: Option<NonZeroU32>, field
101 let memory_mib = if let Some(memory_mib) = self.memory_mib { in to_parcelable() localVariable
102 memory_mib.get().try_into().context("Invalid memory_mib")? in to_parcelable()
119 memoryMib: memory_mib, in to_parcelable()
/packages/modules/Virtualization/compos/composd/src/
Dinstance_manager.rs85 let memory_mib = Some(compos_memory_mib()?); in new_vm_parameters() localVariable
86 Ok(VmParameters { cpu_topology, memory_mib, ..Default::default() }) in new_vm_parameters()
/packages/modules/Virtualization/virtualizationmanager/src/
Dcrosvm.rs116 pub memory_mib: Option<NonZeroU32>, field
891 let mut memory_mib = config.memory_mib; in run_vm() localVariable
911 memory_mib = memory_mib.map(|m| m.saturating_add(swiotlb_size_mib)); in run_vm()
935 if let Some(memory_mib) = memory_mib { in run_vm()
936 command.arg("--mem").arg(memory_mib.to_string()); in run_vm()
Datom.rs114 let (vm_identifier, config_type, cpu_topology, memory_mib, apexes) = match config { in write_vm_creation_stats()
149 memoryMib: memory_mib, in write_vm_creation_stats()
Daidl.rs592 memory_mib: config.memoryMib.try_into().ok().and_then(NonZeroU32::new), in create_vm_internal()
/packages/modules/Virtualization/compos/common/
Dcompos_client.rs66 pub memory_mib: Option<i32>, field
140 memoryMib: parameters.memory_mib.unwrap_or(0), // 0 means use the default
/packages/modules/Virtualization/demo_native/
Dmain.cpp186 bool protected_vm, int32_t memory_mib) { in create_vm_config() argument
211 app_config.memoryMib = memory_mib; in create_vm_config()
/packages/modules/Virtualization/virtualizationservice/src/
Datom.rs48 memory_mib: atom.memoryMib, in forward_vm_creation_atom()
/packages/modules/Virtualization/docs/
Dcustom_vm.md48 "memory_mib" : 8096
201 "memory_mib" : 8096,