Searched refs:VmRequest (Results 1 – 12 of 12) sorted by relevance
/external/crosvm/crosvm_control/src/ |
D | lib.rs | 33 use vm_control::VmRequest; 54 vms_request(&VmRequest::Exit, &socket_path).is_ok() in crosvm_client_stop_vm() 69 vms_request(&VmRequest::Suspend, &socket_path).is_ok() in crosvm_client_suspend_vm() 84 vms_request(&VmRequest::Resume, &socket_path).is_ok() in crosvm_client_resume_vm() 99 vms_request(&VmRequest::MakeRT, &socket_path).is_ok() in crosvm_client_make_rt_vm() 116 vms_request(&VmRequest::BalloonCommand(command), &socket_path).is_ok() in crosvm_client_balloon_vms() 131 vms_request(&VmRequest::Swap(SwapCommand::Enable), &socket_path).is_ok() in crosvm_client_swap_enable_vm() 147 vms_request(&VmRequest::Swap(SwapCommand::SwapOut), &socket_path).is_ok() in crosvm_client_swap_swapout_vm() 162 vms_request(&VmRequest::Swap(SwapCommand::Disable), &socket_path).is_ok() in crosvm_client_swap_disable_vm() 347 let request = VmRequest::DiskCommand { in crosvm_client_resize_disk() [all …]
|
/external/crosvm/src/ |
D | main.rs | 79 use vm_control::VmRequest; 173 vms_request(&VmRequest::Exit, cmd.socket_path) in stop_vms() 177 vms_request(&VmRequest::Suspend, cmd.socket_path) in suspend_vms() 183 Enable(params) => (VmRequest::Swap(SwapCommand::Enable), ¶ms.socket_path), in swap_vms() 184 Trim(params) => (VmRequest::Swap(SwapCommand::Trim), ¶ms.socket_path), in swap_vms() 185 SwapOut(params) => (VmRequest::Swap(SwapCommand::SwapOut), ¶ms.socket_path), in swap_vms() 186 Disable(params) => (VmRequest::Swap(SwapCommand::Disable), ¶ms.socket_path), in swap_vms() 187 Status(params) => (VmRequest::Swap(SwapCommand::Status), ¶ms.socket_path), in swap_vms() 189 if let VmRequest::Swap(SwapCommand::Status) = req { in swap_vms() 197 vms_request(&VmRequest::Resume, cmd.socket_path) in resume_vms() [all …]
|
/external/crosvm/vm_control/src/ |
D | client.rs | 44 request: &VmRequest, in vms_request() 63 let request = VmRequest::UsbCommand(UsbControlCommand::AttachDevice { file: usb_file }); in do_usb_attach() 76 let request = VmRequest::UsbCommand(UsbControlCommand::DetachDevice { port }); in do_usb_detach() 92 let request = VmRequest::UsbCommand(UsbControlCommand::ListDevice { ports }); in do_usb_list() 112 let request = VmRequest::BatCommand(type_, cmd); in do_modify_battery() 133 let response = handle_request(&VmRequest::Swap(SwapCommand::Status), socket_path)?; in do_swap_status()
|
D | lib.rs | 1079 pub enum VmRequest { enum 1309 impl VmRequest { impl 1336 VmRequest::Exit => { in execute() 1340 VmRequest::Powerbtn => { in execute() 1349 VmRequest::Sleepbtn => { in execute() 1358 VmRequest::Rtc => { in execute() 1367 VmRequest::Suspend => { in execute() 1371 VmRequest::Swap(SwapCommand::Enable) => { in execute() 1404 VmRequest::Swap(SwapCommand::Trim) => { in execute() 1417 VmRequest::Swap(SwapCommand::SwapOut) => { in execute() [all …]
|
D | gpu.rs | 183 let request = VmRequest::GpuCommand(GpuControlCommand::AddDisplays { displays }); in do_gpu_display_add() 192 let request = VmRequest::GpuCommand(GpuControlCommand::ListDisplays); in do_gpu_display_list() 202 let request = VmRequest::GpuCommand(GpuControlCommand::RemoveDisplays { display_ids }); in do_gpu_display_remove()
|
/external/crosvm/src/crosvm/ |
D | gdb.rs | 54 use vm_control::VmRequest; 94 if let Err(e) = gdbstub.vm_request(VmRequest::Resume) { in gdb_thread() 113 VmRequest(TubeError), enumerator 156 fn vm_request(&self, request: VmRequest) -> GdbResult<()> { in vm_request() 158 vm_tube.send(&request).map_err(Error::VmRequest)?; in vm_request() 310 self.vm_request(VmRequest::Resume).map_err(|e| { in resume() 340 self.vm_request(VmRequest::Resume).map_err(|e| { in step() 531 target.vm_request(VmRequest::Suspend).map_err(|e| { in on_interrupt()
|
/external/crosvm/vm_control/src/sys/ |
D | windows.rs | 17 use crate::VmRequest; 23 _request: &VmRequest, in handle_request()
|
D | unix.rs | 31 use crate::VmRequest; 35 request: &VmRequest, in handle_request()
|
/external/crosvm/devices/src/pci/pcie/ |
D | pcie_host.rs | 29 use vm_control::VmRequest; 284 let request = VmRequest::HotPlugCommand { in run()
|
/external/crosvm/src/crosvm/sys/ |
D | unix.rs | 3031 TaggedControlTube::Vm(tube) => match tube.recv::<VmRequest>() { in run_control() 3036 VmRequest::HotPlugCommand { device, add } => { in run_control() 3067 VmRequest::RegisterListener { socket_addr, event } => { in run_control() 3094 VmRequest::UnregisterListener { socket_addr, event } => { in run_control() 3104 VmRequest::Unregister { socket_addr } => { in run_control() 3155 if let VmRequest::Suspend = request { in run_control() 3785 .recv::<VmRequest>() in process_vhost_user_control_request() 3788 VmRequest::DiskCommand { in process_vhost_user_control_request()
|
/external/crosvm/devices/src/ |
D | cmos.rs | 101 .send(&vm_control::VmRequest::Rtc) in fire()
|
/external/crosvm/devices/src/pci/ |
D | vfio_pci.rs | 49 use vm_control::VmRequest; 581 let request = VmRequest::HotPlugCommand { device, add: false }; in run() 594 let request = VmRequest::PciPme(self.address.pme_requester_id()); in run()
|