Method
vm_add_vdpa
(&self, vdpa_config: String)
Source from the content-addressed store, hash-verified
| 174 | } |
| 175 | |
| 176 | async fn vm_add_vdpa(&self, vdpa_config: String) -> Result<Optional<String>> { |
| 177 | let vdpa_config = serde_json::from_str(&vdpa_config).map_err(api_error)?; |
| 178 | self.vm_action(&VmAddVdpa, vdpa_config).await |
| 179 | } |
| 180 | |
| 181 | async fn vm_add_vsock(&self, vsock_config: String) -> Result<Optional<String>> { |
| 182 | let vsock_config = serde_json::from_str(&vsock_config).map_err(api_error)?; |
Tested by
no test coverage detected