Home
last modified time | relevance | path

Searched refs:VmInstance (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Virtualization/service_vm/manager/src/
Dlib.rs37 use vmclient::{DeathReason, VmInstance};
128 vm: VmInstance,
146 pub fn start_vm(vm: VmInstance, vm_type: VmType) -> Result<Self> { in start_vm() argument
213 pub fn protected_vm_instance(instance_img_path: PathBuf) -> Result<VmInstance> { in protected_vm_instance() argument
243 VmInstance::create(service.as_ref(), &config, console_out, console_in, log, callback) in protected_vm_instance()
/packages/modules/Virtualization/rialto/tests/
Dtest.rs43 use vmclient::VmInstance;
298 fn vm_instance(vm_type: VmType) -> Result<VmInstance> { in vm_instance() argument
307 fn nonprotected_vm_instance() -> Result<VmInstance> { in nonprotected_vm_instance()
328 VmInstance::create(service.as_ref(), &config, console, /* consoleIn */ None, log, None) in nonprotected_vm_instance()
/packages/modules/Virtualization/compos/common/
Dcompos_client.rs41 use vmclient::{DeathReason, ErrorCode, VmInstance, VmWaitError};
44 pub struct ComposClient(VmInstance);
149 let instance = VmInstance::create(
/packages/modules/Virtualization/vmclient/src/
Dlib.rs122 pub struct VmInstance { struct
158 impl VmInstance { impl
260 impl Debug for VmInstance { implementation
/packages/modules/Virtualization/vmbase/example/tests/
Dtest.rs32 use vmclient::{DeathReason, VmInstance};
110 let vm = VmInstance::create( in test_run_example_vm()
/packages/modules/Virtualization/virtualizationmanager/src/
Dcrosvm.rs272 fn start(&mut self, instance: Arc<VmInstance>) -> Result<(), Error> { in start()
333 pub struct VmInstance { struct
368 impl fmt::Display for VmInstance { argument
379 impl VmInstance { impl
387 ) -> Result<VmInstance, Error> { in new() argument
396 let instance = VmInstance { in new()
Daidl.rs20 …skFile, DisplayConfig, GpuConfig, InputDeviceOption, PayloadState, VmContext, VmInstance, VmState};
616 VmInstance::new( in create_vm_internal()
1169 instance: Arc<VmInstance>,
1173 fn create(instance: Arc<VmInstance>) -> Strong<dyn IVirtualMachine> { in create()
1324 vms: Vec<Weak<VmInstance>>,
1329 fn vms(&self) -> Vec<Arc<VmInstance>> { in vms() argument
1335 fn add_vm(&mut self, vm: Weak<VmInstance>) { in add_vm() argument
1344 fn get_vm(&self, cid: Cid) -> Option<Arc<VmInstance>> { in get_vm() argument
1350 fn get_state(instance: &VmInstance) -> VirtualMachineState { in get_state()
/packages/modules/Virtualization/vm/src/
Drun.rs41 use vmclient::{ErrorCode, VmInstance};
319 let vm = VmInstance::create(service, config, console_out, console_in, log, Some(callback)) in run()