Home
last modified time | relevance | path

Searched defs:VmInstance (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/virtualizationmanager/src/
Dcrosvm.rs239 pub struct VmInstance { struct
241 pub vm_state: Mutex<VmState>,
244 vm_context: VmContext,
246 pub cid: Cid,
248 crosvm_control_socket_path: PathBuf,
250 pub name: String,
274 impl fmt::Display for VmInstance { argument
285 impl VmInstance { implementation
293 ) -> Result<VmInstance, Error> { in new()
Daidl.rs922 fn vms(&self) -> Vec<Arc<VmInstance>> { in vms()
928 fn add_vm(&mut self, vm: Weak<VmInstance>) { in add_vm()
937 fn get_vm(&self, cid: Cid) -> Option<Arc<VmInstance>> { in get_vm()
/packages/modules/Virtualization/vmclient/src/
Dlib.rs137 pub struct VmInstance { struct
139 pub vm: Strong<dyn IVirtualMachine>,
140 cid: i32,
141 state: Arc<Monitor<VmState>>,
144 _death_recipient: DeathRecipient,
173 impl VmInstance { impl
272 impl Debug for VmInstance { implementation