Lines Matching refs:Ok
64 Ok(sid) => Ok(sid.to_owned()), in startVm()
86 Ok(VirtualMachine::create(instance)) in startVm()
108 Ok(cids) in debugListVms()
120 Ok(()) in debugHoldVmRef()
132 Ok(state.debug_drop_vm(cid)) in debugDropVmRef()
160 Ok(self.instance.cid as i32) in getCid()
164 Ok(self.instance.running()) in isRunning()
173 Ok(()) in registerCallback()
246 let pos = self.debug_held_vms.iter().position(|vm| vm.getCid() == Ok(cid))?; in debug_drop_vm()
255 Ok(cid) in allocate_cid()
279 Ok(VmInstance::start(&config, cid, log_fd, requester_uid, requester_sid, requester_debug_pid) in start_vm()