Lines Matching refs:command
298 let mut command = Command::new(CROSVM_PATH); in run_vm() localVariable
300 command in run_vm()
308 command.arg("--protected-vm"); in run_vm()
315 command.arg("--swiotlb").arg(swiotlb_size_mib.to_string()); in run_vm()
319 command.arg("--mem").arg(memory_mib.to_string()); in run_vm()
323 command.arg("--cpus").arg(cpus.to_string()); in run_vm()
327 command.arg("--cpu-affinity").arg(cpu_affinity); in run_vm()
331 command.arg("--task-profiles").arg(config.task_profiles.join(",")); in run_vm()
355 command.arg(format!("--serial={},hardware=serial,num=1", &console_arg)); in run_vm()
357 command.arg(format!("--serial=type=file,path={},hardware=serial,num=2", &failure_serial_path)); in run_vm()
359 command.arg(format!("--serial={},hardware=virtio-console,num=1", &console_arg)); in run_vm()
361 command.arg("--serial=type=sink,hardware=virtio-console,num=2"); in run_vm()
363 command.arg(format!("--serial={},hardware=virtio-console,num=3", &log_arg)); in run_vm()
366 command.arg("--bios").arg(add_preserved_fd(&mut preserved_fds, bootloader)); in run_vm()
370 command.arg("--initrd").arg(add_preserved_fd(&mut preserved_fds, initrd)); in run_vm()
374 command.arg("--params").arg(params); in run_vm()
378 command in run_vm()
384 command.arg(add_preserved_fd(&mut preserved_fds, kernel)); in run_vm()
388 command.preserved_fds(preserved_fds); in run_vm()
390 info!("Running {:?}", command); in run_vm()
391 let result = SharedChild::spawn(&mut command)?; in run_vm()