Home
last modified time | relevance | path

Searched refs:VmResponse (Results 1 – 6 of 6) sorted by relevance

/external/crosvm/vm_control/src/
Dlib.rs825 pub fn execute(&self, vm: &mut dyn Vm, allocator: &mut SystemAllocator) -> VmResponse { in execute() argument
845 Err(MmapError::SystemCallFailed(e)) => return VmResponse::Err(e), in execute()
846 _ => return VmResponse::Err(SysError::new(EINVAL)), in execute()
855 Ok(slot) => VmResponse::RegisterMemory { in execute()
859 Err(e) => VmResponse::Err(e), in execute()
862 None => VmResponse::Err(SysError::new(EINVAL)), in execute()
883 Ok(()) => VmResponse::Ok, in execute()
884 Err(e) => VmResponse::Err(e), in execute()
889 Ok(()) => VmResponse::Ok, in execute()
890 Err(e) => VmResponse::Err(e), in execute()
[all …]
Dclient.rs32 UnexpectedResponse(VmResponse),
122 VmResponse::UsbResponse(usb_resp) => Ok(usb_resp), in do_usb_attach()
132 VmResponse::UsbResponse(usb_resp) => Ok(usb_resp), in do_usb_detach()
146 VmResponse::UsbResponse(usb_resp) => Ok(usb_resp), in do_usb_list()
182 pub type HandleRequestResult = std::result::Result<VmResponse, ()>;
/external/crosvm/src/
Dgdb.rs13 VcpuControl, VcpuDebug, VcpuDebugStatus, VcpuDebugStatusMessage, VmRequest, VmResponse,
75 UnexpectedVmResponse(VmResponse),
87 VmResponse(TubeError), enumerator
127 Ok(VmResponse::Ok) => Ok(()), in vm_request()
129 Err(e) => Err(Error::VmResponse(e)), in vm_request()
/external/crosvm/devices/src/virtio/fs/
Dworker.rs13 use vm_control::{FsMappingRequest, VmResponse};
69 Ok(VmResponse::Ok) => Ok(()), in process_request()
70 Ok(VmResponse::Err(e)) => Err(e.into()), in process_request()
Dmod.rs14 use vm_control::{FsMappingRequest, VmResponse};
267 Ok(VmResponse::RegisterMemory { pfn: _, slot }) => slot, in activate()
268 Ok(VmResponse::Err(e)) => panic!("failed to allocate shared memory region: {}", e), in activate()
/external/crosvm/libcrosvm_control/src/
Dlib.rs17 UsbControlResult, VmRequest, VmResponse,
333 if let Ok(VmResponse::BalloonStats { in crosvm_client_balloon_stats()