Searched refs:virt_manager (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Virtualization/vm/src/ |
D | main.rs | 59 let virt_manager = get_interface(VIRT_MANAGER_BINDER_SERVICE_IDENTIFIER) in main() localVariable 63 Opt::Run { config, daemonize } => command_run(virt_manager, &config, daemonize), in main() 64 Opt::Stop { cid } => command_stop(virt_manager, cid), in main() 65 Opt::List => command_list(virt_manager), in main() 70 fn command_stop(virt_manager: Strong<dyn IVirtManager>, cid: u32) -> Result<(), Error> { in command_stop() 71 virt_manager in command_stop() 79 fn command_list(virt_manager: Strong<dyn IVirtManager>) -> Result<(), Error> { in command_list() 80 let vms = virt_manager.debugListVms().context("Failed to get list of VMs")?; in command_list()
|
D | run.rs | 35 virt_manager: Strong<dyn IVirtManager>, in command_run() 45 let vm = virt_manager.startVm(&config_file, stdout).context("Failed to start VM")?; in command_run() 52 virt_manager.debugHoldVmRef(&vm).context("Failed to pass VM to Virt Manager") in command_run()
|
/packages/modules/Virtualization/virtmanager/src/ |
D | main.rs | 40 let virt_manager = VirtManager::default(); in main() localVariable 41 let virt_manager = BnVirtManager::new_binder( in main() localVariable 42 virt_manager, in main() 45 add_service(BINDER_SERVICE_IDENTIFIER, virt_manager.as_binder()).unwrap(); in main()
|