/cloud-hypervisor/src/bin/ |
H A D | ch-remote.rs | 78 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 D | mod.rs | 95 ) -> 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 D | lib.rs | 184 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 D | main.rs | 185 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 D | lib.rs | 18 ) -> Option<String>, in cli_print_error_chain()
|
/cloud-hypervisor/vmm/src/ |
H A D | device_tree.rs | 29 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 D | debug_console.rs | 36 pub fn new(id: String, out: Box<dyn io::Write + Send>) -> Self { in new() 54 fn id(&self) -> String { in id()
|
H A D | pvpanic.rs | 67 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 D | ioapic.rs | 191 id: String, in new() 440 fn id(&self) -> String { in id()
|
/cloud-hypervisor/api_client/src/ |
H A D | lib.rs | 92 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 D | lib.rs | 33 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 D | lib.rs | 142 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 D | serial.rs | 90 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 D | net.rs | 434 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 D | rng.rs | 169 id: String, in new() 319 fn id(&self) -> String { in id()
|
H A D | watchdog.rs | 209 id: String, in new() 415 fn id(&self) -> String { in id()
|
/cloud-hypervisor/arch/src/riscv64/ |
H A D | fdt.rs | 68 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 D | mod.rs | 106 device_info: &HashMap<(DeviceType, String), T, S>, in configure_system() argument
|
/cloud-hypervisor/option_parser/src/ |
H A D | lib.rs | 35 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 D | vfio_user.rs | 71 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 D | blk.rs | 64 id: String, in new() 378 fn id(&self) -> String { in id()
|
H A D | net.rs | 67 id: String, in new() 435 fn id(&self) -> String { in id()
|
H A D | fs.rs | 87 id: String, in new() 390 fn id(&self) -> String { in id()
|
/cloud-hypervisor/arch/src/aarch64/ |
H A D | mod.rs | 130 device_info: &HashMap<(DeviceType, String), T, S>, in configure_system() argument
|
/cloud-hypervisor/tests/ |
H A D | integration.rs | 103 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 …]
|