Home
last modified time | relevance | path

Searched defs:String (Results 1 – 25 of 58) sorted by relevance

123

/cloud-hypervisor/src/bin/
H A Dch-remote.rs78 fn vmm_ping(&self) -> zbus::Result<String>; in vmm_ping()
80 fn vm_add_device(&self, device_config: &str) -> zbus::Result<Optional<String>>; in vm_add_device()
81 fn vm_add_disk(&self, disk_config: &str) -> zbus::Result<Optional<String>>; in vm_add_disk()
82 fn vm_add_fs(&self, fs_config: &str) -> zbus::Result<Optional<String>>; in vm_add_fs()
83 fn vm_add_net(&self, net_config: &str) -> zbus::Result<Optional<String>>; in vm_add_net()
84 fn vm_add_pmem(&self, pmem_config: &str) -> zbus::Result<Optional<String>>; in vm_add_pmem()
85 fn vm_add_user_device(&self, vm_add_user_device: &str) -> zbus::Result<Optional<String>>; in vm_add_user_device() method
86 fn vm_add_vdpa(&self, vdpa_config: &str) -> zbus::Result<Optional<String>>; in vm_add_vdpa()
87 fn vm_add_vsock(&self, vsock_config: &str) -> zbus::Result<Optional<String>>; in vm_add_vsock()
90 fn vm_counters(&self) -> zbus::Result<Optional<String>>; in vm_counters()
[all …]
/cloud-hypervisor/vmm/src/api/dbus/
H A Dmod.rs95 ) -> Result<Optional<String>> { in vm_action()
112 async fn vmm_ping(&self) -> Result<String> { in vmm_ping()
131 async fn vm_add_device(&self, device_config: String) -> Result<Optional<String>> { in vm_add_device()
136 async fn vm_add_disk(&self, disk_config: String) -> Result<Optional<String>> { in vm_add_disk()
141 async fn vm_add_fs(&self, fs_config: String) -> Result<Optional<String>> { in vm_add_fs()
146 async fn vm_add_net(&self, net_config: String) -> Result<Optional<String>> { in vm_add_net()
155 async fn vm_add_pmem(&self, pmem_config: String) -> Result<Optional<String>> { in vm_add_pmem()
160 async fn vm_add_user_device(&self, vm_add_user_device: String) -> Result<Optional<String>> { in vm_add_user_device() method
165 async fn vm_add_vdpa(&self, vdpa_config: String) -> Result<Optional<String>> { in vm_add_vdpa()
170 async fn vm_add_vsock(&self, vsock_config: String) -> Result<Optional<String>> { in vm_add_vsock()
[all …]
/cloud-hypervisor/test_infra/src/
H A Dlib.rs184 fn prepare_cloudinit(&self, tmp_dir: &TempDir, network: &GuestNetworkConfig) -> String; in prepare_cloudinit()
185 fn disk(&self, disk_type: DiskType) -> Option<String>; in disk()
250 fn prepare_cloudinit(&self, tmp_dir: &TempDir, network: &GuestNetworkConfig) -> String { in prepare_cloudinit()
353 fn disk(&self, disk_type: DiskType) -> Option<String> { in disk()
362 fn prepare_cloudinit(&self, _tmp_dir: &TempDir, _network: &GuestNetworkConfig) -> String { in prepare_cloudinit()
454 fn disk(&self, disk_type: DiskType) -> Option<String> { in disk()
671 ) -> Result<String, SshCommandError> { in ssh_command_ip_with_auth()
736 ) -> Result<String, SshCommandError> { in ssh_command_ip()
889 pub fn default_net_string(&self) -> String { in default_net_string()
896 pub fn default_net_string_w_iommu(&self) -> String { in default_net_string_w_iommu()
[all …]
/cloud-hypervisor/src/
H A Dmain.rs185 default_vcpus: String, in get_cli_options_sorted()
186 default_memory: String, in get_cli_options_sorted()
187 default_rng: String, in get_cli_options_sorted()
463 fn create_app(default_vcpus: String, default_memory: String, default_rng: String) -> Command { in create_app()
485 fn start_vmm(cmd_arguments: ArgMatches) -> Result<Option<String>, Error> { in start_vmm()
H A Dlib.rs18 ) -> Option<String>, in cli_print_error_chain()
/cloud-hypervisor/vmm/src/
H A Ddevice_tree.rs29 pub fn new(id: String, migratable: Option<Arc<Mutex<dyn Migratable>>>) -> Self { in new()
71 pub fn insert(&mut self, k: String, v: DeviceNode) -> Option<DeviceNode> { in insert()
77 pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, DeviceNode> { in iter() argument
113 fn new(hash_map: &'a HashMap<String, DeviceNode>) -> Self { in new()
/cloud-hypervisor/devices/src/
H A Ddebug_console.rs36 pub fn new(id: String, out: Box<dyn io::Write + Send>) -> Self { in new()
54 fn id(&self) -> String { in id()
H A Dpvpanic.rs67 pub fn new(id: String, snapshot: Option<Snapshot>) -> Result<Self, PvPanicError> { in new()
123 pub fn event_to_string(&self, event: u8) -> String { in event_to_string()
242 fn id(&self) -> Option<String> { in id()
250 fn id(&self) -> String { in id()
H A Dioapic.rs191 id: String, in new()
440 fn id(&self) -> String { in id()
/cloud-hypervisor/api_client/src/
H A Dlib.rs92 fn parse_http_response(socket: &mut dyn Read) -> Result<Option<String>, Error> { in parse_http_response()
147 ) -> Result<Option<String>, Error> { in simple_api_full_command_with_fds_and_response()
213 ) -> Result<Option<String>, Error> { in simple_api_full_command_and_response()
/cloud-hypervisor/event_monitor/src/
H A Dlib.rs33 pub fn new(rx: flume::Receiver<String>, file: Option<File>) -> Self { in new()
41 pub fn subscribe(&mut self) -> flume::Receiver<Arc<String>> { in subscribe()
/cloud-hypervisor/vm-migration/src/
H A Dlib.rs142 pub fn add_snapshot(&mut self, id: String, snapshot: Snapshot) { in add_snapshot()
176 fn id(&self) -> String { in id()
/cloud-hypervisor/devices/src/legacy/
H A Dserial.rs90 id: String, in new()
149 id: String, in new_out()
159 id: String, in new_sink()
329 fn id(&self) -> String { in id()
/cloud-hypervisor/virtio-devices/src/
H A Dnet.rs434 id: String, in new_with_tap()
548 id: String, in new()
596 id: String, in from_tap_fds()
880 fn id(&self) -> String { in id()
H A Drng.rs169 id: String, in new()
319 fn id(&self) -> String { in id()
H A Dwatchdog.rs209 id: String, in new()
415 fn id(&self) -> String { in id()
/cloud-hypervisor/arch/src/riscv64/
H A Dfdt.rs68 device_info: &HashMap<(DeviceType, String), T, S>, in create_fdt() argument
290 dev_info: &HashMap<(DeviceType, String), T, S>, in create_devices_node() argument
H A Dmod.rs106 device_info: &HashMap<(DeviceType, String), T, S>, in configure_system() argument
/cloud-hypervisor/option_parser/src/
H A Dlib.rs35 fn split_commas(s: &str) -> OptionParserResult<Vec<String>> { in split_commas()
132 pub fn get(&self, option: &str) -> Option<String> { in get()
/cloud-hypervisor/pci/src/
H A Dvfio_user.rs71 id: String, in new()
499 fn id(&self) -> Option<String> { in id()
533 fn id(&self) -> String { in id()
/cloud-hypervisor/virtio-devices/src/vhost_user/
H A Dblk.rs64 id: String, in new()
378 fn id(&self) -> String { in id()
H A Dnet.rs67 id: String, in new()
435 fn id(&self) -> String { in id()
H A Dfs.rs87 id: String, in new()
390 fn id(&self) -> String { in id()
/cloud-hypervisor/arch/src/aarch64/
H A Dmod.rs130 device_info: &HashMap<(DeviceType, String), T, S>, in configure_system() argument
/cloud-hypervisor/tests/
H A Dintegration.rs103 fn guest_args(&self) -> Vec<String> { in guest_args()
117 fn remote_args(&self) -> Vec<String> { in remote_args()
440 fn prepare_virtiofsd(tmp_dir: &TempDir, shared_dir: &str) -> (std::process::Child, String) { in prepare_virtiofsd() argument
470 ) -> (std::process::Child, String) { in prepare_vubd() argument
497 fn temp_vsock_path(tmp_dir: &TempDir) -> String { in temp_vsock_path()
501 fn temp_api_path(tmp_dir: &TempDir) -> String { in temp_api_path()
511 fn temp_event_monitor_path(tmp_dir: &TempDir) -> String { in temp_event_monitor_path()
516 fn temp_snapshot_dir_path(tmp_dir: &TempDir) -> String { in temp_snapshot_dir_path()
522 fn temp_vmcore_file_path(tmp_dir: &TempDir) -> String { in temp_vmcore_file_path()
572 ) -> (std::process::Command, String) { in prepare_vhost_user_net_daemon() argument
[all …]

123