• Home
  • Raw
  • Download

Lines Matching refs:command

518                     let command =  in trim_memory()  localVariable
521 &VmRequest::BalloonCommand(command), in trim_memory()
687 let mut command = Command::new(CROSVM_PATH); in run_vm() localVariable
689 command in run_vm()
701 command.arg("--balloon-page-reporting"); in run_vm()
703 command.arg("--no-balloon"); in run_vm()
709 command.arg("--protected-vm-with-firmware").arg(pvmfw_path) in run_vm()
711 _ => command.arg("--protected-vm"), in run_vm()
719 command.arg("--swiotlb").arg(swiotlb_size_mib.to_string()); in run_vm()
723 command.arg("--unmap-guest-memory-on-fork"); in run_vm()
729 command.arg("--params").arg(format!("crashkernel={ramdump_reserve}M")); in run_vm()
732 command.arg("--params").arg(format!("crashkernel={RAMDUMP_RESERVED_MIB}M")); in run_vm()
738 command.arg("--params").arg("printk.devkmsg=on"); in run_vm()
739 command.arg("--params").arg("console=hvc0"); in run_vm()
743 command.arg("--mem").arg(memory_mib.to_string()); in run_vm()
747 command.arg("--cpus").arg(cpus.to_string()); in run_vm()
753 command.arg("--cpus").arg(cpus.to_string()); in run_vm()
760 command.arg("--task-profiles").arg(config.task_profiles.join(",")); in run_vm()
764 command.arg("--gdb").arg(gdb_port.to_string()); in run_vm()
789 command.arg(format!("--serial={},hardware=serial,num=1", &console_arg)); in run_vm()
791 command.arg(format!("--serial=type=file,path={},hardware=serial,num=2", &failure_serial_path)); in run_vm()
793 command.arg(format!("--serial={},hardware=virtio-console,num=1", &console_arg)); in run_vm()
795 command.arg(format!("--serial={},hardware=virtio-console,num=2", &ramdump_arg)); in run_vm()
797 command.arg(format!("--serial={},hardware=virtio-console,num=3", &log_arg)); in run_vm()
800 command.arg("--bios").arg(add_preserved_fd(&mut preserved_fds, bootloader)); in run_vm()
804 command.arg("--initrd").arg(add_preserved_fd(&mut preserved_fds, initrd)); in run_vm()
808 command.arg("--params").arg(params); in run_vm()
812 command in run_vm()
818 command.arg(add_preserved_fd(&mut preserved_fds, kernel)); in run_vm()
823 command in run_vm()
828 command.preserved_fds(preserved_fds); in run_vm()
830 print_crosvm_args(&command); in run_vm()
832 let result = SharedChild::spawn(&mut command)?; in run_vm()
861 fn print_crosvm_args(command: &Command) { in print_crosvm_args()
865 command in print_crosvm_args()