Lines Matching refs:arg

856     command.arg(format!("--device-tree-overlay={},filter", add_preserved_fd(preserved_fds, dtbo)));  in append_platform_devices()
859 command.arg(vfio_argument_for_platform_device(device)?); in append_platform_devices()
875 .arg("--extended-status") in run_vm()
878 .arg("--log-level") in run_vm()
879 .arg("info,disk=warn") in run_vm()
880 .arg("run") in run_vm()
881 .arg("--disable-sandbox") in run_vm()
882 .arg("--cid") in run_vm()
883 .arg(config.cid.to_string()); in run_vm()
886 command.arg("--balloon-page-reporting"); in run_vm()
888 command.arg("--no-balloon"); in run_vm()
896 command.arg("--protected-vm-with-firmware").arg(pvmfw_path) in run_vm()
898 _ => command.arg("--protected-vm"), in run_vm()
906 command.arg("--swiotlb").arg(swiotlb_size_mib.to_string()); in run_vm()
916 command.arg("--unmap-guest-memory-on-fork"); in run_vm()
922 command.arg("--params").arg(format!("crashkernel={ramdump_reserve}M")); in run_vm()
925 command.arg("--params").arg(format!("crashkernel={RAMDUMP_RESERVED_MIB}M")); in run_vm()
931 command.arg("--params").arg("printk.devkmsg=on"); in run_vm()
932 command.arg("--params").arg("console=hvc0"); in run_vm()
936 command.arg("--mem").arg(memory_mib.to_string()); in run_vm()
940 command.arg("--cpus").arg(cpus.to_string()); in run_vm()
945 command.arg("--host-cpu-topology"); in run_vm()
948 command.arg("--virt-cpufreq"); in run_vm()
952 command.arg("--cpus").arg(cpus.to_string()); in run_vm()
959 command.arg("--gdb").arg(gdb_port.to_string()); in run_vm()
994 command.arg(format!( in run_vm()
1000 command.arg(format!("--serial=type=file,path={},hardware=serial,num=2", &failure_serial_path)); in run_vm()
1002 command.arg(format!( in run_vm()
1008 command.arg(format!("--serial={},hardware=virtio-console,num=2", &ramdump_arg)); in run_vm()
1010 command.arg(format!("--serial={},hardware=virtio-console,num=3", &log_arg)); in run_vm()
1013 command.arg("--bios").arg(add_preserved_fd(&mut preserved_fds, bootloader)); in run_vm()
1017 command.arg("--initrd").arg(add_preserved_fd(&mut preserved_fds, initrd)); in run_vm()
1021 command.arg("--params").arg(params); in run_vm()
1026 .arg(if disk.writable { "--rwdisk" } else { "--disk" }) in run_vm()
1027 .arg(add_preserved_fd(&mut preserved_fds, &disk.image)); in run_vm()
1031 command.arg(add_preserved_fd(&mut preserved_fds, kernel)); in run_vm()
1037 .arg("--socket") in run_vm()
1038 .arg(add_preserved_fd(&mut preserved_fds, &control_server_socket.as_raw_descriptor())); in run_vm()
1041 command.arg("--device-tree-overlay").arg(add_preserved_fd(&mut preserved_fds, dt_overlay)); in run_vm()
1074 command.arg(format!("--gpu={}", gpu_args.join(","))); in run_vm()
1078 .arg(format!( in run_vm()
1086 .arg(format!("--android-display-service={}", config.name)); in run_vm()
1095 command.arg("--net").arg("tap-name=crosvm_tap"); in run_vm()
1103 command.arg("--net").arg(format!("tap-fd={}", tap_fd)); in run_vm()
1109 command.arg("--input"); in run_vm()
1110 command.arg(match input_device_option { in run_vm()
1132 command.arg("--hugepages"); in run_vm()
1136 command.arg("--boost-uclamp"); in run_vm()
1146 command.arg("--virtio-snd").arg(format!("backend={}", virtio_snd_backend)); in run_vm()